How do you setup a SOCKS Proxy?

January 13, 2014 7.5k 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
1 comment
  • How to install 3proxy (small proxy) on ubuntu: https://teamhelps.pp.ua/top/ustanovka-3proxy-na-digital-ocean-ubuntu-debian/
    3Proxy tiny free proxy server is really tiny cross-platform (Win32/Win64&Unix) freeware proxy servers set. It includes HTTP proxy with HTTPS and FTP support, SOCKSv4/SOCKSv4.5/SOCKSv5 proxy (socks/socks.exe), POP3 proxy, SMTP proxy, AIM/ICQ proxy (icqpr/icqpr.exe), MSN messenger / Live messenger proxy (msnpr/msnpr.exe), FTP proxy, caching DNS proxy, TCP and UDP portmappers.
    You can use every proxy as a standalone program (socks, proxy, tcppm, udppm, pop3p) or use combined program (3proxy). Combined proxy additionally supports features like access control, bandwidth limiting, limiting daily/weekly/monthly traffic amount, proxy chaining, log rotation, syslog and ODBC logging, etc.

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.