HOWTO: openvpn on android (rooted LG Optimus One P500)

1) install Android OpenVPN application:
Android OpenVPN setup + StrongVPN
= great article with screenshots :-)

2) LG Optimus One is missing TUN module, we need to download it: see thread from or direct download

This module I tested and worked on stock LG kernel & stock LG ROM V20G (Android 2.3.3)

3 a) there is possibility to directly load tun.ko module in OpenVPN application settings

3 b) or install TUN module in LG filesystem + create script which will load module on boot
for ssh / sftp connection use eg. SSHDroidPro application

a) check where /system is mounted
df -h | grep system

b) remount /system (which is read only) for writing
mount -o remount,rw /dev/block/mtdblock1 /system

c) copy tun.ko to /system/lib/modules/
append line to file /system/etc/ :
insmod /system/lib/modules/tun.ko

remount /system read only
mount -o remount,ro /dev/block/mtdblock1 /system

Attached files:

Last update:
2012-02-19 22:53
Average rating: 5 (2 Votes)

You can comment this FAQ

Chuck Norris has counted to infinity. Twice.