scripts aren't executed

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
anon0
OpenVpn Newbie
Posts: 1
Joined: Mon Jan 04, 2016 12:59 pm

scripts aren't executed

Post by anon0 » Mon Jan 04, 2016 1:17 pm

client config:

Code: Select all

client
nobind
remote ***.net 1194
proto tcp
key-direction 1
cipher AES-256-CBC
comp-lzo
route-up /system/xbin/su -c sh -c /sdcard/openvpn/openvpn.sh
down /system/xbin/su -c sh -c /sdcard/openvpn/openvpn.sh
I've also tried 'up /system/xbin/touch /data/local/tmp/a/a'
and nothing happens
/data/local/tmp/a is a directory that's world writable

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: scripts aren't executed

Post by Traffic » Mon Jan 04, 2016 10:15 pm

This may not apply to Android but:

See --script-secuity in The Manual v23x

Post Reply