Network

sshuttle - poor man’s VPN

sshuttle - referred to by developers as “a poor man’s VPN” - provides the ability to tunnel entire subnets over an SSH connection with a simple command. For example, if you only have access to subnets 192.168.100.0/24 (FIRST_CIDR) and 192.168.200.0/24 (SECOND_CIDR) via jumphost 185.136.140.45 (BASTION_ADDRESS), the following command is sufficient to make them available on the local host:

$ sshuttle -e 'ssh -i id_rsa.sample' -r ubuntu@BASTION_ADDRESS FIRST_CIDR SECOND_CIDR ...

Not usable IP ranges

Not every network can be used by your deployment. Some are used by the inftrastructure and can interfere with your network.

Here a list of not usable IP-ranges:

  • 172.17.0.1/16