Page 1 of 1

script to run after the VPN is FULLY established

Posted: Tue Dec 22, 2015 9:19 pm
by ebersnack
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?

Re: script to run after the VPN is FULLY established

Posted: Wed Jan 06, 2016 3:45 pm
by Traffic
ebersnack wrote:I read somewhere that no data transmission can occur until after all scripts run. Is that correct?
That is correct.
ebersnack wrote:is there any way to run a script after the network is up
What Operating system ?