BolehVPN Support
Frequently Asked Questions and Troubleshooting Guides => FAQs/Troubleshooting Guides => Topic started by: Bashin on April 09, 2008, 01:17:32 PM
-
Is there any way to set OpenVPN auto connect when start up windows ? thanks
-
According to http://www.itsatechworld.com/2006/01/29/how-to-configure-openvpn/
you make a shortcut to the OpenVPN GUI, put it at the Startup meu, then append the --connect bolehvpn.ovpn to the Target field of that shortcut (of course assuming that your config file is named bolehvpn.ovpn).
Thus it may look like this:-
"C:\Program Files\OpenVPN\bin\openvpn-gui-1.0.3.exe" --connect bolehvpn.ovpn
Haven't tried it myself though, because I run Windows Vista in standard mode and OpenVPN needs to run in admin mode. If you use Windows XP in admin mode, it shopuld work properly.
-
There's also a way to make openvpn run as a service via services.msc
need to delete the other config u're not using tho.
-
According to http://www.itsatechworld.com/2006/01/29/how-to-configure-openvpn/
you make a shortcut to the OpenVPN GUI, put it at the Startup meu, then append the --connect bolehvpn.ovpn to the Target field of that shortcut (of course assuming that your config file is named bolehvpn.ovpn).
Thus it may look like this:-
"C:\Program Files\OpenVPN\bin\openvpn-gui-1.0.3.exe" --connect bolehvpn.ovpn
Haven't tried it myself though, because I run Windows Vista in standard mode and OpenVPN needs to run in admin mode. If you use Windows XP in admin mode, it shopuld work properly.
thanks for u guys... :D just wanna check by doing this,OpenVPN will auto log in to Bolehroute or BolehVPN...? Btw,i'm in XP admin mode.Btw,bro Erun can u explain in more detail on the method u are mention ? thanks again. :D
-
the ovpn file specified in the shortcut will be used. If you use bolehvpn.ovpn, it will connect to that. If you specify bolehroute.ovpn, it will use that one.
-
the ovpn file specified in the shortcut will be used. If you use bolehvpn.ovpn, it will connect to that. If you specify bolehroute.ovpn, it will use that one.
thanks bro,i try ur method and is work for me.thanks a lot :D
-
Yup, it works! Thanks a lot!