All,
I have a Windows 2003 R2 client that needs to auto-connect with no user intervention on reboot...
I have the client.ovpn file in the config directory and have the openvpn connect service
starting as a service.. I cannot find the correct registry change in order to have
the service start with the --connect option..
Regards,
RJN.
Need to setup client --connect option Windows 2003
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Jun 20, 2012 3:25 pm
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Need to setup client --connect option Windows 2003
if you set openvpn service to autostart,it simply tries to
start openvpn using config files found in program files\openvpn\config directory.
your win installation uses 32bit or 64bit OS?
can you post the contents of your .ovpn file?
Michael.
start openvpn using config files found in program files\openvpn\config directory.
your win installation uses 32bit or 64bit OS?
can you post the contents of your .ovpn file?
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Jun 20, 2012 3:25 pm
Re: Need to setup client --connect option Windows 2003
This is the directory structure I have... C:\Program Files\OpenVPN Technologies\OpenVPN Client
Should I be using a different client ??
THX,
RJN
Should I be using a different client ??
THX,
RJN
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Need to setup client --connect option Windows 2003
that's the non-community version of the client and should be used only if you use OpenVPN Access Server; for all other purposes try the community version: http://swupdate.openvpn.org/community/r ... nstall.exe
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Jun 20, 2012 3:25 pm
Re: Need to setup client --connect option Windows 2003
I installed that version, copied my client.ovpn file into the config directory, configured it as a service, started the vpngui manually and logged in and got connected.. from that poing the system should be able to reboot on re-connect automatically .. correct?? or am I missing something?? It still will not connect on bootup..
In the status box, I get a "NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables" message
In the status box, I get a "NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables" message
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Need to setup client --connect option Windows 2003
the openvpn service will start all configuration files (*.ovpn) found in the directory
(for 64bit:
disconnect the VPN , stop the gui, then do a 'net start openvpnservice' - is the VPN active after that? if so, configure this service to be started at system startup time.
Code: Select all
c:\program files\openvpn\config
Code: Select all
c:\program files (x86)\openvpn\config