Sunday, July 1, 2007

SOCKS Proxy

If your VPNClient software does not work well on your network/location (may be because of timeout issue), you could use create SOCKS proxy instead. Based on my experience, SOCKS Proxy is more reliable than VPNClient. I tried to disconnect the network for 3.5 minutes, and SSH tunnel still up.

SOCKS Proxy is builtin and could be initiated by this command :

ssh -D 1080 username@ssh.company.com

SOCKS Proxy could be used with any browser (Firefox) and email client (Thunderbird+Lightning). If you want to use it with Evolution, you will need tsocks. Install tsocks with this command :

sudo apt-get install tsocks

and you could tunnel Evolution with this command :

tsocks evolution

If you are using Thunderbird, you could configure the socks proxy inside Thunderbird. But if you're using LDAP with Thunderbird, you have to tunnel Thunderbird with tsocks, otherwise LDAP will be failed :

tsocks thunderbird

No comments: