How to setup nVPN on Android?
Posted by Max Biggavelli on 16 September 2011 06:03
A video Tutorial for the Android OS Setup can be found below:
Dont forget to place the config files on your SD card and load them on your Phone.
Text tutorial (courtesy of n0f8):
This is for this rom Andro-Id
After you download these files transfer them to root of sdcard.
Start your terminal if you dont have one download thisNow type this in the terminal so you will remount your systemfolder so you can copy files to it
If you have SSH droid installed you can connect to your phone with putty and do these commands there.
Username is root and password is admin
Now you have the tun tap driver installed.
After that you install OpenVPN-Installer-0.2.3.apk and launch it and if all is ok just click install.
And then you install and launch OpenVPN-Settings-0.4.7.apk and it will ask you to put your .ovpn config and cert files in /sdcard/openvpn and you only need to copy your files there.
Restart openvpn-settings and it should work fine and connect to this vpn
If you get this error FATAL: cannot allocate tun/tap dev dynamically
Use this line: insmod /system/lib/modules/tun.ko
And if you dont like to type in username and password everytime you connect to the vpn create an nvpn.auth file and add your username and password Like this:
And add this to your .ovpn file. auth-user-pass nvpn.auth and it will connect automatically