Steps below is how I setup OpenVPN client on my Nexus S to connect to the OpenVPN server on my Synology NAS DS207+.
- Root the phone first.
- Go to market and download busybox . Install busybox to /system/xbin.
- Go to market and download ES File Explorer. Using ES file explorer and mount root / as writable.
- Go to market and download sshdroid.
- Download putty and ssh to android (user root, password admin), executes the comment below
# busybox mkdir /system/xbin/bb
# ln -s /system/xbin/busybox /system/xbin/bb/ifconfig
# ln -s /system/xbin/busybox /system/xbin/bb/route
- Download tun.ko and copy to android /system/modules
- Go to market again and download openvpn installer and openvpn settings
- Open OpenVPN Installer and click ‘Install’ button.
.Click Install again to confirm installation.

Choose ‘/system/xbin’.

Keep clicking allow button to continue.
- Open OpenVPN Settings, click Menu/Advanced
- Click ‘Load tun kernel module’
- Input ‘/sdcard/openvpn’ as path to configurations
- Input ‘/system/xbin/openvpn’ as path to openvpn binary
- Click ‘TUN module settings’, in ‘Load module using’, select ‘insmod’ and input ‘/system/modules/tun.ko’ as ‘path to tun module’.

- Connect your phone with the usb cable, create a ‘openvpn’ directory to the sdcard root. Copy the OpenVPN client config file i.e. client.ovpn, ca.crt, client.crt, client.key, ta.key to the /sdcard/openvpn directory.
- Back to OpenVPN Setting, click OpenVPN to turn on OpenVPN. Long click the OpenVPN client config and then click Preferences from the popup menu.
- Select ‘Built-in + Scripts (passwords)’ for Script Security Level.
Recent Comments