mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #5197] [Feature Request] frpc 支持通过单个实例连接多个远程服务器 (Multiple server connections in one frpc instance) #4058
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#4058
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lc6464 on GitHub (Mar 5, 2026).
Original GitHub issue: https://github.com/fatedier/frp/issues/5197
Describe the feature request
期望
希望 frpc 能够支持在单个进程中管理多个服务器连接。
简单的实现方案:
-c参数导入多个配置文件-c参数导入配置文件夹现状
目前 frpc 的架构设计为一个进程对应一个远程服务器 frps,当需要连接到多个服务器建立不同的代理时,必须在后台维护多个 frpc 进程。
这带来了一些运维上的不便:
Describe alternatives you've considered
也可以实现一个 frp 进程管理器,用于统一拉起和管理多个 frp 子进程
Affected area
@github-actions[bot] commented on GitHub (Mar 20, 2026):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
@lc6464 commented on GitHub (Mar 20, 2026):
Hello?
@litrycn commented on GitHub (Mar 24, 2026):
在./dir 创建多个服务器的json配置
执行 ./frpc --config-dir ./dir
唯一的问题是 其中一个 服务因为网络问题没连上 就连不上了,frpc绑定的端口好像没释放(没有细测)
@github-actions[bot] commented on GitHub (Apr 8, 2026):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
@lc6464 commented on GitHub (Apr 12, 2026):
是我草率了,没仔细看 --help