So I am walking around Osaka Japan, not looking for food or shopping centers, but the INTERNET. Where can I find it?
If you’ve been reading http://gregginjapan.shutterfly.com you know that I have ‘broadband’ internet in my studio apartment. However, the internet is very slow and is comparable to 56k. The main difference is that ‘back in the day’ when I used 56k dial-up DNS didn’t take 45 seconds to respond to each request. After scanning a bit I noticed that my gateway at my mansion had some sort of QoS set for everyone’s packets.
Where did I find the real-unfiltered internet in Osaka you ask? Starbucks
Leave it to the American coffee giant to have free internet. I’m not sure if it was actually Starbucks access point, but it worked nonetheless. Once I associated with the AP I noticed that they gave me a 192 address. Eureeka! DNS address is the same as the DHCP server too.
I fired up Safari, and boom ‘page cannot be displayed’. I open up Apple’s terminal and ‘ping google.com’, no route to host. hmmm. I type ping 220.127.116.11 (only IP I remember from an old employer) and I get a reply. So now I know it is a DNS issue. How do I get an IP of a public DNS server without any name resolution you ask? SSH
I ssh to another IP that I know of for a VoIP system running CentOS, then SSH to my hostname of my house Linux server.
yum -y install lynx
Then run lynx and google public DNS servers, boom, good to go. Add them manually, and I am resolving websites and problems in no time.
If you want your traffic to be encrypted, setup SSH tunneling to a remote proxy (your remote Linux server).
-Open terminal(mac) or PuTTy (Windoz)
-Type ‘ssh -ND 9999 root@yourIPorHostname’
-Type your password when prompted
-Go to you firefox settings and set proxy to 127.0.0.1 port 9999
You’re good to go.