Thu Oct 6 14:42:04 EDT 2011

Got OpenVPN to work on the Droid2

I had to use a workaround "up" script to call ifconfig because for
some reason there's something wrong with the ifconfig push.

  /system/bin/ifconfig tap0 netmask up
  exit 0

It seems that the Android wrapper app runs openvpn with incorrect
script security level.  This worked:


  # Load tun/tap module.
  insmod /system/lib/modules/tun.ko

  # Add --script-security after args provided by the OpenVPN android app.
  exec /system/xbin/openvpn "$@" --script-security 2