[GH-ISSUE #3836] [Feature Request] Adding multiple ports to transmit #3050

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

Originally created by @ycMia on GitHub (Dec 8, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3836

Describe the feature request

As title, I want to add multiple ports in config file. Requesting a easier way to add them.

one suggestion is moving this kind

[[proxies]]
name = "AOC3_2299"
type = "udp"
localIP = "127.0.0.1"
localPort = 2299
remotePort = 2299

[[proxies]]
name = "AOC3_2300"
type = "udp"
localIP = "127.0.0.1"
localPort = 2300
remotePort = 2300

to this

[[proxies]]
name = "AOC3_Ports"
type = "udp"
localIP = "127.0.0.1"
localPort = {2299, 2230}
remotePort = {2299, 2230}

This will save a lot of efforts in config editing, please add that 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 @ycMia on GitHub (Dec 8, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3836 ### Describe the feature request As title, I want to add multiple ports in config file. Requesting a easier way to add them. one suggestion is moving this kind ``` [[proxies]] name = "AOC3_2299" type = "udp" localIP = "127.0.0.1" localPort = 2299 remotePort = 2299 [[proxies]] name = "AOC3_2300" type = "udp" localIP = "127.0.0.1" localPort = 2300 remotePort = 2300 ``` to this ``` [[proxies]] name = "AOC3_Ports" type = "udp" localIP = "127.0.0.1" localPort = {2299, 2230} remotePort = {2299, 2230} ``` This will save a lot of efforts in config editing, please add that 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 - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner
<!-- gh-comment-id:1847251937 --> @xqzr commented on GitHub (Dec 8, 2023): https://github.com/fatedier/frp/blob/dev/conf/legacy/frpc_legacy_full.ini#L196-L202
Author
Owner

@ycMia commented on GitHub (Dec 20, 2023):

Thank you, the demand is fulfilled.
<3

<!-- gh-comment-id:1863917301 --> @ycMia commented on GitHub (Dec 20, 2023): Thank you, the demand is fulfilled. <3
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#3050
No description provided.