[GH-ISSUE #3984] [Feature Request] Ability to expose entire port ranges. #3158

Closed
opened 2026-05-05 14:02:39 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @MaximalCats on GitHub (Feb 9, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/3984

Describe the feature request

Hey!

Let me start by saying that i have been using frp for almost 6 months now, and i really like it.
However, i couldn't find a feature in the documentation that would allow me to expose entire port ranges, eg: ports 8000-9000
Is this a planned feature?
Thanks

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @MaximalCats on GitHub (Feb 9, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/3984 ### Describe the feature request Hey! Let me start by saying that i have been using frp for almost 6 months now, and i really like it. However, i couldn't find a feature in the documentation that would allow me to expose entire port ranges, eg: ports 8000-9000 Is this a planned feature? Thanks ### Describe alternatives you've considered _No response_ ### Affected area - [X] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [X] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:02:39 -06:00
Author
Owner

@Kamycz3q commented on GitHub (Feb 9, 2024):

would be really great

<!-- gh-comment-id:1936752579 --> @Kamycz3q commented on GitHub (Feb 9, 2024): would be really great
Author
Owner

@xqzr commented on GitHub (Feb 12, 2024):

cf025d6320/conf/legacy/frpc_legacy_full.ini (L196-L202)

<!-- gh-comment-id:1939521933 --> @xqzr commented on GitHub (Feb 12, 2024): https://github.com/fatedier/frp/blob/cf025d63207b4a2872ba946dc32ab56b3f98053a/conf/legacy/frpc_legacy_full.ini#L196-L202
Author
Owner

@fatedier commented on GitHub (Feb 19, 2024):

For the current architecture, exposing a large number of ports simultaneously on a frpc is not friendly and will have obvious performance issues.

In the future, other implementation methods may be considered.

<!-- gh-comment-id:1951605902 --> @fatedier commented on GitHub (Feb 19, 2024): For the current architecture, exposing a large number of ports simultaneously on a frpc is not friendly and will have obvious performance issues. In the future, other implementation methods may be considered.
Author
Owner

@github-actions[bot] commented on GitHub (Mar 12, 2024):

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1989696752 --> @github-actions[bot] commented on GitHub (Mar 12, 2024): Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Author
Owner

@rtsui-harmonicinc commented on GitHub (Jun 26, 2024):

cf025d6320/conf/legacy/frpc_legacy_full.ini (L196-L202)

I couldn't do this for the TOML format

json: cannot unmarshal string into Go struct field ClientConfig.visitors of type int
<!-- gh-comment-id:2191454597 --> @rtsui-harmonicinc commented on GitHub (Jun 26, 2024): > https://github.com/fatedier/frp/blob/cf025d63207b4a2872ba946dc32ab56b3f98053a/conf/legacy/frpc_legacy_full.ini#L196-L202 I couldn't do this for the TOML format ``` json: cannot unmarshal string into Go struct field ClientConfig.visitors of type int ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3158
No description provided.