Am 01.12.2012 00:18, schrieb Vil Brekin: > # Use sh to execute all configuration scripts > ScriptsInterpreter = /system/bin/sh
Was the same problem. I moved tinc folder now to /data/tinc and made /data rx for world. Then i changed permissions to 775. After some debugging with sshdroid and ssh connection to phone it works now fine, even with default gate via tinc vpn. Thanks for the help! Here the config for all who want to do the same: tinc.conf: Name = skate ConnectTo = vps10 Device = /dev/tun tinc-up: #!/system/bin/sh ifconfig $INTERFACE 10.11.12.13 netmask 255.255.255.0 # from here only for default gate via tinc ORIGINAL_GATEWAY=`ip route show | grep ^default | cut -d ' ' -f 2-5` VPN_GATEWAY=1.2.3.4 ip route add $VPN_GATEWAY $ORIGINAL_GATEWAY ip route add 0.0.0.0/1 dev $INTERFACE ip route add 128.0.0.0/1 dev $INTERFACE Have fun! ALBI... _______________________________________________ tinc mailing list [email protected] http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
