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 172.31.1.4:8080 -d my_digitalocean_ip:443 ServerAliveInterval 60 GSSAPIAuthentication no
Here 172.31.1.4:8080 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.
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!
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.
We’ve also just published an article on setting up a SOCKS proxy! https://www.digitalocean.com/community/tutorials/how-to-route-web-traffic-securely-without-a-vpn-using-a-socks-tunnel
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.