Click the OpenVPN icon on the system tray to open the menu.
Select the active connection (the one with a check mark) and then click Disconnect.
Automatic login without manually entering VPN username and password
Are you thinking of "automatic login" without the need to enter password every time you want to connect to OpenVPN? If so, please read on.
Currently, there is no secure way to store the user name and password in Windows using OpenVPN. For security purposes, most versions of OpenVPN do not allow a user/password to be read from a file. If you are willing to take the security risk of having your login information saved in the clear on your hard drive, you can use the OpenVPN GUI client and set it up to automatically log in. Recognizing the security risks, the procedure is as follows:
If you do not have OpenVPN GUI installed yet, download and setup it up first.
Navigate to C:\Program Files\OpenVPN\config folder.
Using a text editor like Wordpad or Notepad, create a file name password.txt.
On the first line, type your VPN username (12345 in this example).
On the second line, type your VPN password.
Save the file.
Next is to open and edit your .ovpn file with Wordpad and find the line that reads auth-user-pass.
Change it to auth-user-pass password.txt (without the quotes). Save and exit.
Test the connection and see if it will connect automatically.
OpenVPN Connect stops working and the client shows 'No VPN Servers found'
If this happens, it could be because the OpenVPN Access Client service stopped. Try this as a fix:
Go to Control Panel > System and Security > Administrative Tools
Scroll down and look for OpenVPN Access Client
If the Status column does not show Started, right-click OpenVPN Access Client and select Start
Try connecting again. You may need to restart your OpenVPN Connect application.
OpenVPN Connect shows 'The connection to ab-xyz-1.isvpn.net has been disconnected' when trying to connect.
Check and make sure the OpenVPN AS (OAS) TAP adapter is enabled.
Go to Control Panel > Network and Internet > Network and Internet Sharing Center
Click Change adapter settings on the left side.
Look for an adapter with TAP-Win32 Adapter OAS or TAP Adapter OAS NDIS6.0 under it's name and make sure it is enabled. When it is disabled, you will see 'Disabled' under the name.
To enable, right-click the adapter and select Enable
I am getting the message 'Authentication Failed' when trying to connect Be sure to check that your account is still active. If it is, note that your VPN Username and Password is different than your IronSocket Website credentials. You can locate your VPN Username and Password on your VPN Login Details page.
After connecting I am unable to browse and I get disconnected after 1-2 minutes
Some routers and ISPs use abnormal UDP Network Address Translation (NAT) configurations which can result in your outgoing data jumping between different outgoing ports. This sort of connection is not supported by OpenVPN. Try switching to TCP to see if this resolves your connectivity issues. See how to do this below.
How do I switch between TCP and UDP protocols?
All of our .ovpn configuration files include both UDP and TCP connection information. By default UDP typically is used first as it appears first in the list of connection settings.
If you are using the OpenVPN Connect application you can simply adjust the settings to force the connection to use UDP or TCP. On Windows and Mac OSX this is an option in the Right-click / Control-click menu on the taskbar / menu bar icon. On iOS, in the general "Settings" area OpenVPN Connect can be selected and configured. On Android, the Preferences option can be selected by pressing the menu button within the OpenVPN Connect app.
If you are using OpenVPN Community or Tunnelblick you can edit the .ovpn file directly with a text editor and comment out the remote UDP or TCP lines. These lines appear at the bottom of the file and start with the word 'remote' and end with 'udp' or 'tcp'. To comment out a line just add a semi-colon ';' at the start of the line. For example change "remote uk-lon-1.isvpn.net 53 udp" to ";remote uk-lon-1.usvpn.net 53 udp". Save the file and re-import it into your application.