- Blog
- Howtos
- anything generator
- apache
- asterisk
- autofs
- autoload
- automount
- backup db
- callcentric
- centos
- chumby
- cipher list
- cookies
- ctags
- dovecot
- glue fleece
- hacking
- httpd
- IE
- iFrame
- ispconfig
- javascript
- lighttpd
- media player
- move networks
- mysql
- mysqldiff
- mythtv
- Network Solutions
- openssl
- os x
- osx
- P3P Compact Policy
- php
- postfix
- proftpd
- proxy
- python
- screen scraping
- shell
- shell scripts
- slapd
- smb
- ssh
- sshfs
- SSLCertificateChainFile
- sslv2
- stunnel
- suphp
- taglist
- telnet
- trace
- verisign
- vi
- vsftpd
- Scripts
- About
Super Fast SOCKS Proxy Setup
Submitted by adam on Thu, 2008-01-31 21:30.
Stealing someone's free WiFi and don't want your traffic snooped? Here's a very simple way to setup a SOCKS proxy on any port above 1024 that isn't currently in use. (Below is usually reserved for root and you'll receive a message like this: Privileged ports can only be forwarded by root.).
Syntax:
ssh -d <PORT> <USERNAME>@<SERVER>
Example:
ssh -D 9998 adam@adamyoung.net
What this does:
This will open up localhost:9998 on your machine which you can then set your browsers, etc to use as a SOCKS proxy. Both SOCKS4 and SOCKS5 protocols are supported. ssh acts as the SOCKS server. You need to leave the ssh connection open during the full time you wish to use the proxy. As soon as you close the terminal window it's gone.
Macs:
If you're on a mac you set the proxy here: System Preferences >> Network >> Advanced button >> Proxies
Here's a picture for the visual learners:

