Tunnel to Gmail
I am in Venezia, Italia and my host has graciously let me use her computer to check email. There’s only one problem… Google’s services (email, reader, hosted, analytics, etc) have been unavailable to me for the past five hours. There’s a problem upstream, somewhere, that prevents me from getting to GMail. A friend, in the Bay Area, tells me– over IM chat– that he has perfect access to GMail. All this tells me that it’s just a regional access thing.
Anyways, I really needed to check my email and couldn’t wait for the problem to get resolved. So I just worked up a quick hack.
First, I edited the laptop’s hosts file (c:/windows/system32/drivers/etc/hosts) to add the following lines:
127.0.0.1 google.com
127.0.0.1 www.google.com
127.0.0.1 mail.google.com
Second, I launched the signed-jar copy of Mindterm that I have sitting on my website; I logged in to my dreamhost shell account (in the States) and set up a couple of ssh tunnels that redirected web traffic from the local loopback address to google.com:
127.0.0.1 port 80 -> google.com port 80
127.0.0.1 port 443 -> google.com port 443
Finally, launched IE (she doesn’t have Firefox installed) for immediate access to GMail.
What did that really do?
Normal Case: IE talks directly to GMail. IE -> GMail.
But the Normal Case is broken.
My Workaround: IE talks to GMail through a third party. IE -> Dreamhost Server -> GMail.
Posted in Google, Technology
![[del.icio.us]](http://badpopcorn.com/blog/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://badpopcorn.com/blog/wp-content/plugins/bookmarkify/digg.png)
![[Google]](http://badpopcorn.com/blog/wp-content/plugins/bookmarkify/google.png)
![[StumbleUpon]](http://badpopcorn.com/blog/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Windows Live]](http://badpopcorn.com/blog/wp-content/plugins/bookmarkify/windowslive.png)
![[Yahoo!]](http://badpopcorn.com/blog/wp-content/plugins/bookmarkify/yahoo.png)
![[Email]](http://badpopcorn.com/blog/wp-content/plugins/bookmarkify/email.png)
I find that uncomfortably reminiscent of the time my brother bypassed the heater pump of my pickp using sprinkler parts in 15 minutes in a mall parking lot…
Sadly, you used no sprinkler parts making your story the lesser of the two MacGuyverings.
Still a good story though, and to think I usually ignore your programming posts
Comment by Aaron — July 18, 2006 @ 9:24 am