[GH-ISSUE #4116] [Feature Request] 能否使一个frpc链接多个frps. #3249

Closed
opened 2026-05-05 14:05:47 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @youyi0218 on GitHub (Mar 30, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4116

Describe the feature request

我想在不同的frps部署多个ip端口然后让一个frpc链接多个frps,只能开多个frpc程序吗

Describe alternatives you've considered

开多个frpc写不同的配置文件:(

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @youyi0218 on GitHub (Mar 30, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4116 ### Describe the feature request 我想在不同的frps部署多个ip端口然后让一个frpc链接多个frps,只能开多个frpc程序吗 ### Describe alternatives you've considered 开多个frpc写不同的配置文件:( ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [X] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@jiafeimao99 commented on GitHub (Apr 1, 2024):

我也需要这个功能,希望可以开发连接多个frps的功能。

<!-- gh-comment-id:2029020774 --> @jiafeimao99 commented on GitHub (Apr 1, 2024): 我也需要这个功能,希望可以开发连接多个frps的功能。
Author
Owner

@yangjieshao commented on GitHub (Apr 1, 2024):

如非必要勿增实体
能用多个client解决的事就不要合并在一个client处理了,这个改动可以预见的是会引入很多bug风险的,风险和收益不成正比

<!-- gh-comment-id:2029050428 --> @yangjieshao commented on GitHub (Apr 1, 2024): 如非必要勿增实体 能用多个client解决的事就不要合并在一个client处理了,这个改动可以预见的是会引入很多bug风险的,风险和收益不成正比
Author
Owner

@fatedier commented on GitHub (Apr 1, 2024):

借助配置文件的环境变量渲染可以帮助你复用配置文件,也相对简单。

<!-- gh-comment-id:2029056297 --> @fatedier commented on GitHub (Apr 1, 2024): 借助配置文件的环境变量渲染可以帮助你复用配置文件,也相对简单。
Author
Owner

@jiafeimao99 commented on GitHub (Apr 1, 2024):

明白了,感谢哈

<!-- gh-comment-id:2029073364 --> @jiafeimao99 commented on GitHub (Apr 1, 2024): 明白了,感谢哈
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#3249
No description provided.