octopus
Part of the Furniture
I have "openvpn-event" that call a script to get ip number from my VPN-provider. (useing canufranks script) Script executed before TUN11 is connected and no ip shows, saves ip in a file at /jffs/vpnip at then moment.
Thanks.
Octopus
I have look at "vpn_client1_state" state 0-1-2 with no luck. Is there any way to start script after client1 have connected to my vpn-provider and tunnel is established? I also use Martineau vpn routing script.if [ "$dev" == "tun11" ]; then
sh /jffs/vpn_script.sh
ip="`cat /jffs/ip`"
logger -t $(basename $0) "$dev $ip show"
Thanks.
Octopus
Last edited: