Install sshuttle with python3 support
#https://packages.ubuntu.com/xenial/net/sshuttle
https://packages.ubuntu.com/groovy/all/sshuttle/download
# install from PIP pip3 install sshuttle # backport from APT mirror wget http://mirrors.kernel.org/ubuntu/pool/universe/s/sshuttle/sshuttle_1.0.4-1ubuntu4_all.deb -O /tmp/ wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/libjs-sphinxdoc_3.2.1-1_all.deb -O /tmp/ sudo dpkg -i /tmp/*.deb sudo apt-get install -y sshuttle
Install under Ubuntu 20.04 in virtualenv
https://bugs.launchpad.net/ubuntu/+source/sshuttle/+bug/1887489
sudo apt install -y python3-virtualenv mkdir -p ~/bin/python2 cd ~/bin/python2 virtualenv . ./bin/pip install sshuttle # execute ~/bin/python2/bin/sshuttle --remote <YOUR_WORKSTATION> ...
Optionally add to sudoers file:
sshuttle --sudoers
Execute
sshuttle \ --dns \ --remote foo@example.com \ 10.0.0.0/8 \ 192.168.10.0/24 \ --exclude 192.168.178.0/24 \ --exclude 192.168.1.200/32 \ --exclude 192.168.178.0/24
Linux
https://github.com/sshuttle/sshuttle
https://sshuttle.readthedocs.io/en/stable/
https://sshuttle.readthedocs.io/en/stable/windows.html