Reverse SSH
-
For anyone who has never used it, reverse SSH is a wonderous thing. You can open a connection from a server behind a firewall and get access from the outside without needing to deal with port forwarding or anything complicated like that. From the "internal" server behind the firewall try a command like this...
ssh -fN -R 7000:localhost:22 username@yourMachine-ipaddress
Where...
- 7000 is any unused TCP port on your server
- username is the username on the unblocked server
- ipaddress is the address of the machine that is unblocked
From the unblocked server you can connect via a command like this...
ssh localhost -p 7000