Tuesday 1 May 2012

Socks5 Proxy using SSH


ssh -f -N -D 0.0.0.0:1080 localhost


Notes;

-f   run as a daemon

-N   stay idle and don't execute commands on localhost

-D   dynamic port forwarding on port 1080

You test it using curl;

curl --socks5 localhost:1080 www.google.com

No comments: