[TriLUG] reverse ssh through firewall/NAT with a twist

Alan Porter porter at trilug.org
Sat Nov 15 10:23:47 EST 2014


> BusComp  <--> router <--> Internet <--> router <--> HomeComp

You can do this if you allow SSHD to accept connections on one of the 
routers.  You don't have to set up port forwarding.  That can be done on 
demand.  But at least one of the routers will need to accept connections.

This should be fairly obvious if you consider that everything on the far 
left and far right of your drawing (behind the routers) are not on the 
Internet.  They are on private networks.  You require an Internet 
connection to be established between the two routers.  So at least one 
of them needs to be able to listen and accept SSH connections.

Alan







More information about the TriLUG mailing list