Page 1 of 1

Running openvpn-gui as a service script problem

Posted: Sun May 26, 2013 12:41 pm
by Till
Hi @all

I have installed openvpn-gui and set it up to run as a service in order to reach my LAN behind a
pfsense 2.01 box which is runnning fine.
As soon as Windows 7 starts the connection is established.

As Step 2 I wanted to run a script that maps network drives in the lan, to achieve this I have
created a file in the config directory called <name-of-the-ovpn-file>_up.bat

For some unknown reason to me the script is not executed, if I start it manually it is running fine.

What amd I doing wrong ? :?:

Kind regards

Till

Re: Running openvpn-gui as a service script problem

Posted: Mon May 27, 2013 3:06 pm
by janjust
the "<name-of-the-ovpn-file>_up.bat" file is not executed by the openvpn windows service ; up til 2.3 the GUI was not part of OpenVPN itself, hence there are some differences in how things are started.

If you wish to start openvpn and perform drive mapping you could do so at user login time.