Page 1 of 1

Accessing internet through the channel from route-up script

Posted: Fri Jul 12, 2019 1:18 pm
by RandomUser3
I am trying to figure out my public IP inside the route-up script. To do so I need to make a connection through the channel, but for some reason it fails. Can anyone confirm that it is impossible to use a channel from the route-up script yet?

For example a 'traceroute -i tun0 8.8.8.8' fails if run from route-up script

Re: Accessing internet through the channel from route-up script

Posted: Fri Jul 12, 2019 1:59 pm
by TinCanTech
ALL scripts launched by openvpn must complete before the tunnel will pass any further data.

It is a security measure.