Home / Linux / Can you not remote tunnel via SSH / autossh diff ip’s/servers using the same local port? : linux

Can you not remote tunnel via SSH / autossh diff ip’s/servers using the same local port? : linux

Can you not remote tunnel via SSH / autossh diff ip’s/servers using the same local port? : linux

So my Internet the place I dwell run by loopy jerks who need all the ports blocked… So I run my stuff via tunnels. For enjoyable I wished to know if I might run three tunnels on three diff servers beneath 1 firewall/ip remotely. For enjoyable it is extra for Load Balance as folks could be consuming up quite a bit on the first server to allow them to use the 2nd or third… I hear ssh has a little bit of a connection restrict.

autossh -M 20000 -f -nNT -o "ExitOnForwardFailure=yes" -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -R 7001:localhost:25565 s1@xxxx.com -p 3301

autossh -M 21000 -f -nNT -o "ExitOnForwardFailure=yes" -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -R 7002:localhost:25565 s2@xxxx.com -p 3302

autossh -M 22000 -f -nNT -o "ExitOnForwardFailure=yes" -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -R 7003:localhost:25565 s3@xxxx.com -p 3303

So 7001, 7002, 7003 on the remote finish firewall could be open. 7001 works wonderful however 7002 and 7003 does not. So I created one other one which was 7004 eliminated -f -nNT in order that it did not go in the background / console reveals up they run up simply wonderful although the remote does not work for me.

As far as I do know I might be improper 25565 is not certain by the ssh, and so on. All it is doing forwarding the visitors to it? So I ought to be capable to have a number of ports remoting into it and using that port right?

I could be sort of silly however hoping another person can take a look over and solutions. I imply I doubt I would like to do that prob higher methods to open extra tunnel bandwidth, and so on extra simply enjoyable to see if I might do it haha.

About Agent

Check Also

SpaceX Successfully Launches 60 More Starlink Satellites as it Continues Towards 2020 Service Debut

SpaceX Successfully Launches 60 More Starlink Satellites as it Continues Towards 2020 Service Debut SpaceX …

Leave a Reply

Your email address will not be published. Required fields are marked *