Does it make pfSense to wear SSH SOCKS?
Adrian Hensler scribbled:
Just looking at your postings regarding VPN and Hamachi. Hamachi is pretty neat but if it has spotty support for the Mac why not try SSH (secure shell)? I know there are Mac clients like putty ( putty.darwinports.com/download/ ). SSH is great for tunneling data through. You can pipe your email, Web browsing, and IM and whatever else through SSH. It’s very flexible and once you’ve played with SSH (either the command line version or a GUI like putty, it’s easy to see many uses for it).
Here’s a page describing the Mac setup briefly: www.mikeash.com/?page=ssh_socks.html
I’m not sure why the author chose to use the Firefox “about:” way rather than the File | Preferences way, but that’s fine. This page might be a bit better description of the whole process, and here’s yet one more. Here’s one on setting up the SSH daemon on a Mac (not sure if there’s a better way, sorry). You could also just run a tiny linux virtual machine that includes a SSH daemon in something like VMware and just forward the appropriate port (22) to that.
It involves adding a dynamic tunnel and then changing Firefox to use that new local port as a SOCKS proxy. One caveat is that DNS requests are still done locally; so browsing history isn’t completely hidden. It’s possible to direct DNS requests through the tunnel as well; but it’s significantly more complicated. Also; it’s important to note that you can direct multiple ports through the same SSH tunnel – you could forward email / instant messaging / remote desktop; all through the same single SSH port at the same time; as long as you know and have access to the remote IP and port from the remote SSH server. The sister application SCP will work in the same manner for moving files securely.
Another issue might be that some users may not have access to change the Firefox / IE settings to add a proxy. In my previous job; these settings were locked by a group policy… but they didn’t lock the registry settings where these ‘lock’ options are set; so I just disabled the lock via the registry….
Like everything else; it seems more confusing than it is. Once you’ve set up a tunnel and see how it works; you’re set for a million uses. The fact that it is multi-platform is a huge plus for me – it works the same way on my Linux boxes and my Windows boxes. You can also set it up with multiple hops to get to places you might not have thought possible.
My personal solution is a router PC based on pfsense ( www.pfsense.org — amazing work done on this project) and I connect to that via either SSH or the Windows built-in pptp client – pfsense runs a SSH daemon if desired and also supports IPSec and PPTP tunnels. But for quick http proxies, it’s hard to beat SSH.
Jeremy Phillippe also suggests pfSense:
I’m not sure if you’ve considered (or are aware of) m0n0wall and pfSense. m0n0wall is a FreeBSD based router package that, among other things, will let you setup a PPTP VPN endpoint, which will let you almost effortlessly connect remotely from both Windows and Mac OS X to your home network and the internet from there. pfSense is an offshoot of m0n0wall, it uses a more recent version of FreeBSD and uses OpenBSD’s Packet Filter (hence the pf part), it also supports VPNs in this manner. It’s fairly easy to setup a spare machine for this (or get a small custom built device that will run either).
Need a new domain name? See why GoDaddy is the #1 domain registrar worldwide. Now with your domain registration, you'll get hosting, a free blog, complete email system, and much more! Plus, as a listener of The Chris Pirillo Show, enter code CHRIS2 when you check out, and save an additional $5 off any order of $30 or more. Get your piece of the internet at GoDaddy!





3 Comments
The Chris Pirillo Show
August 27th, 2007
at 7:05am
Frankfurt, Germany – European Blogger Meetup? Our Outlook PST Files are Too Big Free Universal Contact Management with Plaxo Shopping Coupons for Labor Day Weekend Mac OS X Leopard vs Microsoft Windows Vista 32-Bit Windows and 4GB of RAMDoes it make pfSense to wear SSH SOCKS?Windows Vista SP1 Virtual Private Sushi!? Coupons That Expire Soon TOR or VPN? The Final Word on Zango and Revver Hosted Exchange Problems VMware vs Virtual PC Revver is Behind Zango Crapware Fiasco
duby
August 30th, 2007
at 3:42am
i was going to E-mail you but i couldn’t find you E-mail on your web site so i don’t know i just hand a question or 2 uuuum i want to get a macbook or a ibook for video editing and like watching movies online so which one is good for that and do i need to be concerned about using it to much i mean for like 6 to 7 hours i’m thing of using it for my main pc because my besktop is a piece of juck LoL i build it out of a some old school cp my broth had laying around the house and i’m not trying to get you to give me a laptop but is you have HHD laying around i’ll be happy to take it off you hands i don’t care if it’s a 2 GB one LoL so basically i’m looking for a laptop that can be uded all the time
hombrelobo
August 30th, 2007
at 7:32am
I just tried Hamachi and it is absolutely incredible how easy it is to setup and use.
But only windows, yes.
Still, so easy to use that I am amazed … and it works …. and it is free ….