35
The Great Escape Tunnel your way to freedom with SSH @johndalton

The Great Escape - Tunnel your way to freedom with SSH

Embed Size (px)

Citation preview

Page 1: The Great Escape - Tunnel your way to freedom with SSH

The Great EscapeTunnel your way to freedom with SSH

@johndalton

Page 2: The Great Escape - Tunnel your way to freedom with SSH

The Great EscapeTunnel your way to freedom with SSH

@johndalton

Page 3: The Great Escape - Tunnel your way to freedom with SSH
Page 4: The Great Escape - Tunnel your way to freedom with SSH
Page 5: The Great Escape - Tunnel your way to freedom with SSH
Page 6: The Great Escape - Tunnel your way to freedom with SSH
Page 7: The Great Escape - Tunnel your way to freedom with SSH
Page 8: The Great Escape - Tunnel your way to freedom with SSH
Page 9: The Great Escape - Tunnel your way to freedom with SSH
Page 10: The Great Escape - Tunnel your way to freedom with SSH
Page 11: The Great Escape - Tunnel your way to freedom with SSH
Page 12: The Great Escape - Tunnel your way to freedom with SSH
Page 13: The Great Escape - Tunnel your way to freedom with SSH
Page 14: The Great Escape - Tunnel your way to freedom with SSH
Page 15: The Great Escape - Tunnel your way to freedom with SSH
Page 16: The Great Escape - Tunnel your way to freedom with SSH
Page 17: The Great Escape - Tunnel your way to freedom with SSH
Page 18: The Great Escape - Tunnel your way to freedom with SSH
Page 19: The Great Escape - Tunnel your way to freedom with SSH
Page 20: The Great Escape - Tunnel your way to freedom with SSH
Page 21: The Great Escape - Tunnel your way to freedom with SSH
Page 22: The Great Escape - Tunnel your way to freedom with SSH
Page 23: The Great Escape - Tunnel your way to freedom with SSH
Page 24: The Great Escape - Tunnel your way to freedom with SSH
Page 25: The Great Escape - Tunnel your way to freedom with SSH
Page 26: The Great Escape - Tunnel your way to freedom with SSH
Page 27: The Great Escape - Tunnel your way to freedom with SSH
Page 28: The Great Escape - Tunnel your way to freedom with SSH
Page 29: The Great Escape - Tunnel your way to freedom with SSH

https://help.ubuntu.com/community/SSH_VPN

Page 30: The Great Escape - Tunnel your way to freedom with SSH

+---------------+ OpenSSH 4.3 +---------------+ | Machine A | tun0 -- Tunnel Interface -- tun0 | Machine B | | Has a tunnel | <------------------------------->| Has a tunnel | | and ethernet | 10.0.0.100 10.0.0.200 | and ethernet | +-------+-------+ point to point connection +-------+-------+ eth0 | creates a bridge | eth0

10.0.0.100 | that plugs machine B | 192.168.0.100 port 22 | into network A | forwarded | | here | |

+-------+-------+ +-~-~-~-~-~-~-~-+ +-------+-------+ | Network A | | | | Network B | | 10.0.0.1/24 | 1.2.3.4 | The Internet | | 192.168.0.1/24| | Has internet |<-------->| |<----->| Has internet | | NAT gateway | Routable | | | NAT gateway | +---------------+ Address +-~-~-~-~-~-~-~-+ +---------------+

Page 31: The Great Escape - Tunnel your way to freedom with SSH

https://github.com/sshuttle/sshuttle

Page 32: The Great Escape - Tunnel your way to freedom with SSH

brew install sshuttle

sudo sshuttle --dns -Dr \ [email protected] 0/0

Page 33: The Great Escape - Tunnel your way to freedom with SSH

When all you have is a hammer…

Page 34: The Great Escape - Tunnel your way to freedom with SSH

When all you have is a hammer…Multitool

Page 35: The Great Escape - Tunnel your way to freedom with SSH