Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Multiple SSH services reuse on the same port ? #60

Open
Rahul-ambiplatforms opened this issue Aug 6, 2024 · 2 comments
Open

Comments

@Rahul-ambiplatforms
Copy link

I want to use multiple machine ssh service on same port using custom domains or subdomains?

Machine 1:
serverAddr = "x.x.x.x"
serverPort = 7000

[proxies]
name = "ssh1"
type = "tcpmux"
multiplexer = "httpconnect"
customDomains = ["machine-a.example.com"]
localIP = "127.0.0.1"
localPort = 22

Machine 2:
serverAddr = "x.x.x.x"
serverPort = 7000

[[proxies]]
name = "ssh2"
type = "tcpmux"
multiplexer = "httpconnect"
customDomains = ["machine-b.example.com"]
localIP = "127.0.0.1"
localPort = 22

@liudf0716
Copy link
Owner

xfrpc does not support such configuration

@mumianbaba
Copy link

use a socks5 to do proxy at server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants