I'd like to set up a socks5 proxy based on my ubuntu 12.04 server.
I've read that this is supposed to be easy and doable with one command:
ssh -f -N -D 0.0.0.0:1080 localhost
Not so much in my case (error message):
Permission denied (publickey).
After this, I've tried installing ss5.
First from source:
wget http://heanet.dl.sourceforge.net/project/ss5/ss5/3.8.9-7/ss5-3.8.9-7.tar.gz tar -zxvf *.tar.gz cd * ./configure
Which ended in
configure: error: *** Some of the headers weren't found ***
After which I attempted to install it from rpm, without much luck:
error: Failed build dependencies: openldap-devel is needed by ss5-3.8.9-6.i386 pam-devel is needed by ss5-3.8.9-6.i386 openssl-devel is needed by ss5-3.8.9-6.i386 libgssapi-devel is needed by ss5-3.8.9-6.i386 .... Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package openldap-devel
There are other packages for socks5, but I've met similar problems with them too.
Can anyone point me to a good info on how to turn ubuntu 12.04 server into a socks5 proxy?