Automatic connection and BAT file
Posted: Mon Mar 14, 2016 5:07 pm
Hello all!
I'm trying to find a way to run a BAT script when the tunnel has gone up. I have in my Config folder :
- yolo.ovpn
- yolo_up.bat
Yolo_up.bat runs well when i start manually the Open VPN connection (right click, Connect). But i want a automatic connection. So i modified the Open VPN Service target to :
"C:\Program Files\OpenVPN\bin\openvpnserv.exe" --connect yolo.ovpn (Statup Type: Automatic).
Now, the automatic connection work but not yolo_up.bat...
Ideas?
Thanks !
I'm trying to find a way to run a BAT script when the tunnel has gone up. I have in my Config folder :
- yolo.ovpn
- yolo_up.bat
Yolo_up.bat runs well when i start manually the Open VPN connection (right click, Connect). But i want a automatic connection. So i modified the Open VPN Service target to :
"C:\Program Files\OpenVPN\bin\openvpnserv.exe" --connect yolo.ovpn (Statup Type: Automatic).
Now, the automatic connection work but not yolo_up.bat...

Ideas?
Thanks !