xfrpc icon indicating copy to clipboard operation
xfrpc copied to clipboard

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

Open Rahul-ambiplatforms opened this issue 1 year ago • 2 comments

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

Rahul-ambiplatforms avatar Aug 06 '24 18:08 Rahul-ambiplatforms

xfrpc does not support such configuration

liudf0716 avatar Aug 30 '24 07:08 liudf0716

use a socks5 to do proxy at server.

mumianbaba avatar Oct 21 '24 09:10 mumianbaba