7

I want to configure a VPN from my Nexus S (2.3.4) to my home Ubuntu desktop.

Has anyone tried this yet?

I would deeply appreciate tips on which VPN server to use (e.g., is openVPN support native on Android Gingerbread?) and pitfalls to avoid.

ce4
  • 14,446
  • 10
  • 60
  • 106
Animesh
  • 745
  • 2
  • 8
  • 13
  • What would you use the vpn for? I don't know the answer because I'd just use an sh shell to connect to my ubuntu pc at home and I can't imagine what kind of use a vpn could have but I'm interested... – Pitto May 04 '11 at 08:25
  • 1
    @pitto I would like to use VPN for the usual purposes. Secure communication from my phone to the internet, not trusting the free wifi at the cafe, for example. – Animesh May 04 '11 at 10:05
  • Mmmmhh... So when you get to the internet cafè you would log to their network, then log to your vpn and then surf the net? – Pitto May 04 '11 at 10:09
  • Yes. That is what I want to do. – Animesh May 04 '11 at 11:29
  • Browsing internet through vpn wouldn't be easy. When you connect to internet through wi-fi, the cafe router will advertize itself as default gateway. This gateway will be used to bring up the vpn connection. After the vpn connection is established the gateway will be the same one which was set when the phone connected to wi-fi. And by default there can be only one default gateway. So browsing wouldn't happen over the secure vpn channel. The only solution for this is using a proxy which exists on your vpn connected network. And official Android ROM has no option to be set up as a proxy client. – nixnotwin May 05 '11 at 00:51
  • @nixnotwin: What's the point of being able to set up a VPN if things aren't tunneled through it? Is it possible to set up the proxy with Cyanogenmod? – endolith Oct 07 '11 at 23:50
  • http://android.stackexchange.com/questions/7566/how-do-i-set-up-openvpn-on-cyanogenmod – endolith Oct 07 '11 at 23:50
  • http://android.stackexchange.com/questions/2689/if-i-set-up-a-vpn-does-everything-go-over-it – endolith Oct 08 '11 at 00:21

2 Answers2

3

The way I did it was to install dd-wrt on my home router and enable PPTP VPN. Then I just put in the user name and password in the VPN settings in Gingerbread.

terry1769
  • 950
  • 5
  • 8
1

OpenVPN would seem to be another good solution if you cannot install dd-wrt on your router. There is a client app for it (http://www.appbrain.com/app/openvpn-settings/de.schaeuffelhut.android.openvpn) but you need to have rooted your phone to use it.

nijaba
  • 11
  • 1