Tunnel web traffic through SOCKS proxy

I am behind a firewall on my local network. It is very restrictive and allows connections only through a few ports. Even direct ssh connections are blocked. I get around this is by editing the ssh_config file and adding the following lines: Host my_digitalocean_ip ProxyCommand proxytunnel -p -d my_digitalocean_ip:443 ServerAliveInterval 60 GSSAPIAuthentication no

Here is the local proxy that we have to connect to access the web. Now what I want to achieve is to tunnel all my web traffic through a socks proxy or any other solution that allows me to browse blocked websites. Please help.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

The easiest way to do this might be to set up an OpenVPN server on your droplet and set it up to listen on a port that is not blocked on your network. This way you wouldn’t have to do anything extra and could just open the openvpn client and establish a connection. Then all your communications would be routed through your droplet.