[GH-ISSUE #5006] [Feature Request] 希望可以支持一个配置文件启动多个节点穿透 #3941

Closed
opened 2026-05-05 14:30:40 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @sunianOvO on GitHub (Sep 29, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/5006

Describe the feature request

服务通过frpc进行内网穿透,但是存在多个frps节点现在只能

frpc -c frpc1.ini
frpc -c frpc2.ini
frpc -c frpc3.ini
可以实现在读取配置文件时加个标记声明这是第二个节点配置,第三个节点配置这种,实现一个frpc -c frpc.ini就能运行多个配置文件吗

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 @sunianOvO on GitHub (Sep 29, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/5006 ### Describe the feature request 服务通过frpc进行内网穿透,但是存在多个frps节点现在只能 frpc -c frpc1.ini frpc -c frpc2.ini frpc -c frpc3.ini 可以实现在读取配置文件时加个标记声明这是第二个节点配置,第三个节点配置这种,实现一个frpc -c frpc.ini就能运行多个配置文件吗 ### 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

@Wronthyou-Emme commented on GitHub (Oct 5, 2025):

还是现在这样好,不会线程带着进程一起崩。

<!-- gh-comment-id:3369117821 --> @Wronthyou-Emme commented on GitHub (Oct 5, 2025): 还是现在这样好,不会线程带着进程一起崩。
Author
Owner

@litrycn commented on GitHub (Oct 7, 2025):

已经支持了,

  --config-dir string   config directory, run one frpc service for each file in config directory
<!-- gh-comment-id:3375471564 --> @litrycn commented on GitHub (Oct 7, 2025): 已经支持了, --config-dir string config directory, run one frpc service for each file in config directory
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#3941
No description provided.