I found this tool and it's quite useful if you need to run VPN via SSH on Linux or Mac OS.
Then go to your sshuttle folder and start your proxy like this:
./sshuttle –dns -vvr <user>@<host> 0/0
<user> and <host> have to be replaced of course.
The –dns flag lets you forward your DNS queries to the DNS server of your SSH host (<host>).
0/0 is a simple shortcut for 0.0.0.0/0, so for any IP addresses.
This is a very basic usage but can save you a lot of time!