One of my friends lives in a country which they censor websites and they are fighting with techniques that people use to bypass the censorship.

He told me that the only way that he can bypass the censorship now is using SOCKS proxy (that country blocked VPN and SSH connections to outside the world)

I configured a web HTTP-Proxy server with Squid by the steps in this tutorial : http://www.howtoforge.com/linux_secure_browsing_squid

Now my friend can change his IP address and browse websites with a new IP add , but he told me that he still cannot access the censored sites since the browsing is not encoded.

Can anyone help me how I can configure Squid as a Sock5 proxy server ?

My server is Debian 5

Thanks in advance.

  • 2
    As much as I may sympathize with your friend's plight, ServerFault has a policy of not aiding anyone in the circumvention of any existing, authoritative policy that the technology professionals do not have authority over. This question will likely be closed as off-topic unless you can edit yoru question down to the bare minimum and remove all mention of subversion.
    – Wesley
    Jan 22, 2012 at 22:18

1 Answer 1


Squid is an HTTP proxy, not a SOCKS proxy. It expects to talk HTTP and nothing else.

Have a look at Dante. I find this to be an easy and reliable SOCKS proxy server.


Not the answer you're looking for? Browse other questions tagged or ask your own question.