mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #338] How can I frpc multiple clients(behind NAT) to one frps server? #248
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#248
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 @Microos on GitHub (May 27, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/338
I just tried with one client and it's wonderful! And is that possible for me to frpc multiple clients(behind NAT) to one frps server?
@fatedier commented on GitHub (May 30, 2017):
It's no different with one client. Just note that each proxy name mustn't be same.
@Microos commented on GitHub (May 30, 2017):
Do you mean I should create multiple
[common]sections in./frps.iniwith different listeningbind_portsand for each client, the./frpc.inicontains a correspondingserver_portplus a distinctremote_port?@runique commented on GitHub (Nov 29, 2017):
You could configure the frpc.ini with different proxy name.
for example, one frpcs.ini:
[webaaa]
type = http
...
and another frpc.ini:
[webbbb]
type = http
...
you could get it surely.
@WooodHead commented on GitHub (Jun 2, 2018):
What if I want to access two clients both with SSH?
I realized I can use different port:
[ssh1]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000
[ssh2]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6005