How to customize and extend your OpenVPN installation.
1 post • Page 1 of 1
- OpenVPN Power User
- Posts: 89
- Joined: Fri Aug 05, 2011 3:02 pm
i have a script (Python3) that gets details from a config file, starts the OpenVPN process in the background, then needs to wait for the tunnel to be connected before it can finish the configuration of the whole network. is there a suggestion of how to detect it is up? pings don't work until the configuration of the network. the logs are not saved by this script. the thought i have is to test the existence of the tunnel interface. once it exists and is in the up state then the script can finish its tasks so the network can be used. does this make sense?