xfrpc
xfrpc copied to clipboard
How to use Multiple SSH services reuse on the same port ?
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
xfrpc does not support such configuration
use a socks5 to do proxy at server.