Tested in ubuntu 18
You can build your own vpn secure and fastly with sshuttle. This powerfull tool permits routing all traffic, trough a remote ssh server, by creating several rules on iptables.
Installing:
~ $ apt-get install sshuttle -y
Using:
~ $ sshuttle -v --dns -r [email protected] 0/0
-v: verbose
–dns: dns traffic is sending by ssh tunnel
-r: remote server
0/0: destination to route, here all traffic
To redirect traffic for a specific destination:
~ $ sshuttle -v --dns -r [email protected] 192.168.0.0/24