Tagged: ios Toggle Comment Threads | Keyboard Shortcuts

  • Tobias Hieta 7:16 am on February 26, 2011 Permalink | Reply
    Tags: , configuration, debian, greatfirewall, ios, linux, polipo, pptp, privacy, proxy, tinyproxy, vpn, wifi   

    Getting around the China firewall on the iPhone. 

    Lately I have been traveling a bit to Beijing, China to do some Open Source trainings. Before I went here the first time I installed a OpenVPN and tinyproxy on my QNAP (running debian) at home. This allowed me to bypass the restrictions of the Chinese internet connection and access sites like facebook, arstechnica and twitter. It worked great for my laptop, but I could not get it to work on my iPhone without jailbreaking it. Since I didn’t want to do that I looked at the built-in VPN functionality of the iPhone to see if I could utilize that together with tinyproxy to provide a work-around.

    The iPhone supports two different VPN protocols. L2TP and PPPoE. I quickly dismissed L2TP for my usage since it requires a full IPSEC stack and it didn’t seem trivial at first glance. PPPoE on the other hand seemed quite easy to install and configure. Note that L2TP probably is the better and more secure alternative of the both, but it seemed like a huge overkill to me, I just wanted to access some websites with my phone and it’s not that of a big secret.

    For Debian there was the pptpd package that was very easy to install and configure. I just followed this guide: http://www.hacktopia.net/wp/set-up-pptp-vpn-server-on-debian-40/

    Instead of configuring the iPhone for direct NAT access from the VPN I wanted to use the same tinyproxy that I used for my laptop, but it didn’t work well at all. I often got reset messages or it stopped loading the page in the middle, etc etc. I tried to some basic troubleshooting, making sure that the VPN tunnel worked fine and soon it was evident that the iPhone didn’t play well with tinyproxy.

    The solution was to use Polipo (http://www.pps.jussieu.fr/~jch/software/polipo/), Polipo has the added benefit that it can cache webpages as well. I can really recommend the solution of PPTP + Polipo if you need to work-around firewalls or similar blocking behavior, it also good to use this solution when you are on a open WIFI network, so that people are not sniffing your credentials.

    Next up is to try to figure out how to configure proxy-autodetect for both iPhone and the mac so that I don’t have to use manual settings when I connect to the VPN. But that seems to be a can of worms…

  • Tobias Hieta 12:35 pm on February 7, 2011 Permalink | Reply
    Tags: apps, ios, , podcast   

    I must have missed that Apple have started to approve Podcast apps for the iPhone, I am really happy that I don’t have to use my Android phone for podcasting anymore (Google Listen is decent, but horribly buggy). Podcaster is probably my new favorite iOS app. Now I can listen to Dr. Kiki without having to remember to sync with iTunes or go through the pain of manually downloading the files to my Android because Listen crashes. Go check it out: http://podcaster.fm/

  • Tobias Hieta 10:22 am on January 27, 2011 Permalink | Reply
    Tags: development, , ios, , ohm, xcode   

    Yesterday I meet up with Kristoffer (@isallmaroon) and we talked about our next iOS app. I am not going to announce it yet, but I can tell you it involves Music, streaming and metadata madness 🙂 I will post more about it in the coming weeks I hope. But since I am a family man these days a release schedule will be pretty hard to nail down 🙂

Compose new post
Next post/Next comment
Previous post/Previous comment
Show/Hide comments
Go to top
Go to login
Show/Hide help
shift + esc