[GH-ISSUE #2370] 一个客户端能连接多个服务端 #1882

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

Originally created by @kingtu on GitHub (Apr 27, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2370

希望实现一个客户端能连接多个服务端,省得再开一个客户端。

frpc.ini

[common]
server_addr = x.x.x.x
server_port = 7000

[server1-service1]
server_addr = 8.8.8.2
server_port = 7000

type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000

[server2-service1]
server_addr = 8.8.8.3
server_port = 7000

type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000

Originally created by @kingtu on GitHub (Apr 27, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2370 希望实现一个客户端能连接多个服务端,省得再开一个客户端。 # frpc.ini [common] server_addr = x.x.x.x server_port = 7000 [server1-service1] server_addr = 8.8.8.2 server_port = 7000 type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 6000 [server2-service1] server_addr = 8.8.8.3 server_port = 7000 type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 6000
gitea-mirror 2026-05-05 13:13:01 -06:00
Author
Owner

@cl000282 commented on GitHub (May 10, 2021):

用不同的配置文件,多开一个进程就好了

<!-- gh-comment-id:836380402 --> @cl000282 commented on GitHub (May 10, 2021): 用不同的配置文件,多开一个进程就好了
Author
Owner

@github-actions[bot] commented on GitHub (Jun 25, 2021):

Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.

<!-- gh-comment-id:868095472 --> @github-actions[bot] commented on GitHub (Jun 25, 2021): Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.
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#1882
No description provided.