As alternative to VPN, a SOCKS5 tunnel is often a faster, cheaper alternative.
$ ssh USERNAME@IP -D PORT
In the following example, the USERNAME we use is root, the VPS IP is 18.104.22.168 and we want to create a SOCKS5 listening on PORT 2240:
$ ssh firstname.lastname@example.org -D 2240
The SOCKS5 proxy should now be available.
Adjust your browser settings accordingly; the proxy host will be 127.0.0.1 or localhost and the port 2240:
Finally, if you want to surf without a proxy, Tun2socks is a great tool you can use to tune a SOCKS proxy to a virtual interface.
Top comments (0)