Running openvpn-gui as a service script problem

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
Till
OpenVpn Newbie
Posts: 1
Joined: Sun May 26, 2013 11:50 am

Running openvpn-gui as a service script problem

Post by Till » Sun May 26, 2013 12:41 pm

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

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Running openvpn-gui as a service script problem

Post by janjust » Mon May 27, 2013 3:06 pm

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.

Post Reply