When you’re out and about using your phone’s wifi connection to get net access, you should be concerned about your security. Just because the sites you visit are SSL doesn’t mean you’re safe. Just have a look at the tool SSLStrip. Even if you trust the hotspot, do you trust that no one is intercepting the traffic between you and the hot spot?
I discovered today it’s actually quite easy to setup a home VPN and have all your iPhone’s traffic run over it. All you need is a compatible router to run the dd-wrt firmware on. dd-wrt actually does a lot of cool features.
- Install the dd-wrt vpn firmware to your router
- Get a dynamic hostname and setup software to update when your ip changes. (If you don’t already have one)
- Configure dd-wrt to update your dynamic host name under Setup->DDNS
- Configure the PPTP server built into dd-wrt
- PPTP: Enable
- Broadcast Support: Enable
- Force MPPE Encryption: Enable
- Server IP: 0.0.0.0
- Client IP: 192.168.1.151-175
- CHAP-Secrets: YourMadeUpUserName * YourMadeUpPassword *
- Setup VPN in iPhone
- Under Settings->General->Network->VPN->Add VPN
- Description: Home
- Server: yourdynamichostname.dyndns.org
- Account: YourMadeUpUserName
- Password: YourMadeUpPassword
- Encryption Level: Maximum
- Send All Traffic: ON
- Proxy: Off
- Slide VPN to ON
- You should see a little icon in the upper left that says VPN when you’re connected. You can verify the vpn is working by going to www.whatismyip.com which should display your IP from home
The above was done with dd-wrt v24-sp2.