leemklove Hello all open-win-client-my-only-program.exe my-only-program ==> openvpn.exe --config client.ovpn connecting... next my-only-program.exe web-get-route-ip-list next my-only-program.exe route add web-get-route-ip-list error message route ADD xxx.xx.xx.x MASK 255.255.255.0 xxx.xx.x.x The route addition failed: Either the interface index is wrong or the gateway do es not lie on the same network as the interface. Check the IP Address Table for the machine. After Delay my-only-program.exe route add web-get-route-ip-list Success .. How Delay I want route add point Please Help me Thank you
leemklove Hello all "route-delay 5 30" This option is openvpn My route add command is Outside program Not use ==> openvpn-gui my-connect-script.bat error ---------------------------- openvpn --config client.ovpn web-get-route-ip-list cmd route add "web-get-route-ip-list" error my-connect-script.bat success ---------------------------- openvpn --config client.ovpn web-get-route-ip-list delay 20 second <=== ugly cmd route add "web-get-route-ip-list" success Thank you
Mimiko You can use same script inside openvpn called with "--route-up cmd", which will run your scripts in right time.