[GH-ISSUE #3711] 0520以后如何对范围端口进行映射? #2956

Closed
opened 2026-05-05 13:54:33 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @ccraise on GitHub (Oct 22, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3711

Describe the feature request

以前可以用range来映射多个端口,0520以后该如何配置?
[range:someserver]
type = tcp
local_ip = XXX.XXX.1.XXX
local_port = 1234,4444,5556,8081-8083
remote_port = 1234,4445,6667,8081-8083

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 @ccraise on GitHub (Oct 22, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3711 ### Describe the feature request 以前可以用range来映射多个端口,0520以后该如何配置? [range:someserver] type = tcp local_ip = XXX.XXX.1.XXX local_port = 1234,4444,5556,8081-8083 remote_port = 1234,4445,6667,8081-8083 ### 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
Author
Owner

@superzjg commented on GitHub (Oct 22, 2023):

0.52.0 的更新项有这样一个描述,是否相关?
No longer support range ports mapping in TOML/YAML/JSON.

<!-- gh-comment-id:1774232931 --> @superzjg commented on GitHub (Oct 22, 2023): 0.52.0 的更新项有这样一个描述,是否相关? No longer support range ports mapping in TOML/YAML/JSON.
Author
Owner

@fatedier commented on GitHub (Oct 23, 2023):

INI 仍然可用,但是不再推荐,至少 v0 版本中会一直保留。

<!-- gh-comment-id:1774323322 --> @fatedier commented on GitHub (Oct 23, 2023): INI 仍然可用,但是不再推荐,至少 v0 版本中会一直保留。
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#2956
No description provided.