Previously, I wrote an article on how to secure your web surfing using some simple Unix tools. Now, we will extend that article to include securing your instant messenging using the same setup.
> Unix variants (Linux, Cygwin, Mac OS X)
> SSH client program
> Access to remote server with SSH server running and forwarding enabled.
> Access to Squid proxy server running.
> If your server is running Mac OS X, follow the steps outlined here and then come back here to configure your IM clients.
The real magic happens when you type in the following command in your Unix shell (replacing the username with your real login, and re placing proxy.example.com with the servername/ip address of your home sshd/squid server):
ssh -L 3128:127.0.0.1:3128 email@example.com -f -N
MSN Messenger setup
> Open MSN Messenger and go to Tools > Options > Connection tab.
> Check the “I use a proxy server” box.
> In the Server field, type in 127.0.0.1
> In the Port field, type in 3128
Yahoo Messenger setup
> Open up Yahoo Messenger and sign in.
> Go to Messenger > Preferences and go to the Connection.section.
> Click the “Use proxies” radio button.
> Check the “Enable HTTP proxy” box.
> In the Server Name field, type in 127.0.0.1
> In the Server Port field, type in 3128
thomasyung.com | Secure your web traffic from prying eyes