Use SSH Like a VPN
https://github.com/apenwarr/sshuttle#readme
Works On:
Linux
Mac
FreeBSD
Prerequisites
sudo, su, or logged in as root on your client machine
The server doesn't need admin access
If you use Linux on your client machine:
iptables installed on the client, including at least the iptables
DNAT
, REDIRECT, and ttl modules
These are installed by default on most Linux distributions
The server doesn't need iptables and doesn't need to be Linux
If you use MacOS or BSD on your client machine:
Your kernel needs to be compiled with IPFIREWALL_FORWARD
MacOS has this by default
You need to have ipfw available
The server doesn't need to be MacOS or BSD