script to run after the VPN is FULLY established
Posted: Tue Dec 22, 2015 9:19 pm
Hi
I'm trying to run an action after the VPN comes up completely that talks to things on the VPN network. So, say that my server is
10.0.0.1,
client connects and get's assigned 10.0.0.2 (tcp, tun)
if I try to ping, open a socket to 10.0.0.1 it won't work in a route-up or up script.
Is this expected behaviour? I read somewhere that no data transmission can occur until after all scripts run. Is that correct?
If so, is there any way to run a script after the network is up so that it can actually send data to other members of the VPN?
I'm trying to run an action after the VPN comes up completely that talks to things on the VPN network. So, say that my server is
10.0.0.1,
client connects and get's assigned 10.0.0.2 (tcp, tun)
if I try to ping, open a socket to 10.0.0.1 it won't work in a route-up or up script.
Is this expected behaviour? I read somewhere that no data transmission can occur until after all scripts run. Is that correct?
If so, is there any way to run a script after the network is up so that it can actually send data to other members of the VPN?