I'm going to build on FuelCell250's previous post regarding SSH tunneling. Most of the time you'll want to tunnel all of your traffic through your home SSH server, but there are instances where that's not the most suitable option.
For instance, working the late shift in IT, I'll sometimes run into periods of downtime. Obviously I am careful about my browsing on a work PC. I'm not convinced, however, that anyone else should see me logging into my online banking; or that my chat sessions should be visible to anyone but myself; or those randomly blacklisted sites that are perfectly SFW.
My solution is fairly simple, and easy to setup. Check it out after the break!
I'll be using Putty and Chrome (with FoxyProxy extension) on my work PC, while connecting to my home SSH server that allows external SSH access.
First, I created a "Work" and "Personal" profile in Chrome. My work profile is not signed in to any services, no extra plugins/extensions installed. My personal profile is connected to my Google account to allow for bookmark syncing and extension sync.
Then I setup Putty to tunnel to my SSH server. There are several guides online, but the basic steps are as follows: Enter your server IP(or domain name if set up) into the "Hostname(or IP address)" field, then choose SSH > Tunnels from the sidebar. Add a new port that is not in use, such as 9999. At the bottom of the page check "Dynamic" and "Auto", then go back to "Session" and enter a friendly name like "SSH to Home", then hit save.
I installed FoxyProxy in my "Personal" profile and configured it to connect to my SSH tunnel.
- For host, type localhost or 127.0.0.1
- Port should match your tunnel settings
- Check "SOCKS Proxy?"
- Name it whatever you like and hit SAVE
Now, simply open your SSH tunnel through Putty and enable your proxy by clicking the icon in Chrome. Now all your "Personal" traffic is routed through the SSH tunnel to your home network, while the rest of your traffic remains on your office's network.