How to setup OpenVPN Community on Windows
- Download and Install OpenVPN GUI
- Download the latest old stable community version 2.3.14 of OpenVPN client (Windows Installer) at http://openvpn.net/index.php/open-source/downloads.html.
Note: If you have a 32-bit Operating System,
download the 32-bit version of the installer. You can check your System Type by going to Control Panel > System and Security > System.
- Open the folder where installer is downloaded and double-click the openvpn-install-.exe file to begin installation.
- You may encounter a Security Warning screen: "Do you want to run this software?". If you see the Security Warning screen, click Run to run the software.
- The Setup Wizard prompt will appear. Click Next to continue.
- The OpenVPN license agreement and terms appear. Click I Agree to continue.
- The component selection dialog appears. Leave all components checked with their default settings and click Next.
- Select your destination folder and click Install. Note the Destination Folder location during install (usually C:\Program Files\OpenVPN)
- When the installation is complete, click Next.
- The wizard will notify you of the completion of the installation and prompt you to click Finish.
- Download and copy the .ovpn profiles to the OpenVPN config folder
- Visit our Network page at https://ironsocket.com/network#ovpn.
- Select the OpenVPN server location you wish to connect to and click Get Profile
- Select the encryption level you would like to use and click Download to download your .ovpn.
- Open the folder (usually the Downloads folder) where you have downloaded the profiles and
then copy them to C:\Program Files\OpenVPN\config folder.
Note:If you get a pop-up message that says "You’ll need to provide administrator permission to
copy to this folder", click Continue.
How to Connect to OpenVPN
- To connect, find the OpenVPN GUI icon on your desktop and double-click it to launch OpenVPN.
- In the system tray, right click on the OpenVPN GUI icon.
Note: When you cannot find the icon on the system tray after starting OpenVPN GUI, check for hidden icons.
Click the link below for how to view hidden systray icons: http://www.computerhope.com/issues/ch000734.htm.
- Find the site to connect to from the menu, and choose Connect from the site's submenu.
- Enter your VPN username and password when prompted and click OK.
- The OpenVPN GUI icon in the tray will turn green once the secure connection is established.
- To verify, open your browser, visit https://ironsocket.com and you should see a new location.
How to Disconnect from OpenVPN
- 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.
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.