How do you setup a SOCKS Proxy?

January 13, 2014 4.4k views
Hi everyone, Does anyone know how to setup a socks proxy? I want to setup my own socks proxy just so I can see how they work but am not sure how to do this. I am running Ubuntu 12.04.3 x64 And once the socks proxy is setup how can you add a username and password so it cant be public used without the password/username. Thanks everyone! -J
5 Answers
But squid doesn't offer SOCKS proxy (only HTTP), does it?
No it doesn't support SOCKS. I'm also looking for a solution to use SOCKS proxy on my droplet.
@cevaps: If it's just for personal usage, you can tunnel a SOCKS proxy through SSH: https://www.digitalocean.com/community/articles/how-to-set-up-ssh-tunneling-on-a-vps#Example3.SOCKSproxy.
In this article, you'll learn how to create a safe, encrypted tunnel between your computer and your VPS along with how to bypass limits in a corporate network, how to bypass NAT, etc.
Have another answer? Share your knowledge.