frp icon indicating copy to clipboard operation
frp copied to clipboard

[Feature Request] Ability to expose entire port ranges.

Open MaximalCats opened this issue 1 year ago • 3 comments

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

MaximalCats avatar Feb 09 '24 18:02 MaximalCats

would be really great

Kamycz3q avatar Feb 09 '24 23:02 Kamycz3q

https://github.com/fatedier/frp/blob/cf025d63207b4a2872ba946dc32ab56b3f98053a/conf/legacy/frpc_legacy_full.ini#L196-L202

xqzr avatar Feb 12 '24 20:02 xqzr

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.

fatedier avatar Feb 19 '24 02:02 fatedier

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

github-actions[bot] avatar Mar 12 '24 00:03 github-actions[bot]

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

ICHx avatar Jun 26 '24 11:06 ICHx