BolehVPN Support

Frequently Asked Questions and Troubleshooting Guides => FAQs/Troubleshooting Guides => Topic started by: Bashin on April 09, 2008, 01:17:32 PM

Title: Is there any way to set OpenVPN auto connect when start up windows ?
Post by: Bashin on April 09, 2008, 01:17:32 PM
Is there any way to set OpenVPN auto connect when start up windows ? thanks
Title: Re: Is there any way to set OpenVPN auto connect when start up windows ?
Post by: asellus on April 09, 2008, 02:03:49 PM
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.
Title: Re: Is there any way to set OpenVPN auto connect when start up windows ?
Post by: Reuben on April 09, 2008, 02:22:21 PM
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.
Title: Re: Is there any way to set OpenVPN auto connect when start up windows ?
Post by: Bashin on April 09, 2008, 03:00:16 PM
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


Title: Re: Is there any way to set OpenVPN auto connect when start up windows ?
Post by: asellus on April 09, 2008, 03:57:49 PM
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.
Title: Re: Is there any way to set OpenVPN auto connect when start up windows ?
Post by: Bashin on April 09, 2008, 07:45:12 PM
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
Title: Re: Is there any way to set OpenVPN auto connect when start up windows ?
Post by: jamielim on April 25, 2008, 06:02:10 PM
Yup, it works! Thanks a lot!