ttblum
Hello,
Does anyone know how I might auto-launch a .bat script upon establishing OpenVPN connection in Windows?
Thanks,
Todd
janjust
if you use the GUI included in the community version of openvpn 2.1/2.2 then you can place a script in the same directory as the .ovpn file. If your client config is 'client1.ovpn' then the script would be 'client1_up.bat' ; this script is called after the GUI detects that an OpenVPN connection has been established.