-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathREADME
More file actions
19 lines (12 loc) · 991 Bytes
/
README
File metadata and controls
19 lines (12 loc) · 991 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Using autossh and reverse ssh tunneling to enable accessing your machines even if they are NAT'd or behind firewalls - automatically.
How to use this:
(Note this script assumes you are using Ubuntu)
wget http://github.com/mikeymckay/reverse_ssh_tunnel/raw/master/setup_reverse_tunnel.sh
chmod +x ./setup_reverse_tunnel.sh
sudo ./setup_reverse_tunnel.sh
Why to use this:
I want all of my machines to be setup with an ssh tunnel whenever one of them finds an internet connection. That way I can always access all of my machines no matter where I, or they are the world. I want this even if they are in some high security firewalled corporate prison or if they are sharing the same IP address as the other million NAT'd users tethering internet through their phones. This should happen automatically and without fuss.
More information about how this works can be found here:
http://www.vdomck.org/2005/11/reversing-ssh-connection.html
and
http://www.vdomck.org/2009/11/ssh-all-time.html