Home > Articles > Cisco Network Technology > General Networking > How to Configure OpenVPN

How to Configure OpenVPN

Article Description

OpenVPN may seem a little daunting at first, but once you get your feet wet this can be an incredibly useful (and free!) tool. In this article, Michael Riley shows you how to use OpenVPN for secure internet surfing on your client PCs. He’ll also help you set up the configuration that will allow you access to your home network while you’re traveling. From installation to troubleshooting, and using helpful OS-specific tips, this tutorial demystifies OpenVPN for the beginning user.

Like this article? We recommend

Comparing, Designing, and Deploying VPNs

Comparing, Designing, and Deploying VPNs


Using OpenVPN GUI

When OpenVPN GUI is started, your config folder (C:\Program Files\OpenVPN\config) will be scanned for any .ovpn files, and an icon will be displayed in the system tray.

When you want to connect to a network, right-click the OpenVPN GUI and click connect. If you have more than one config file you will be able to choose between them. If you use a passphrase-protected key you will be prompted for the password.

OpenVPN GUI can start a connection automatically when it runs. To enable autoconnect simply add this string to the command that starts the OpenVPN app:

--connect client1.ovpn

In Windows, you'll need to append it to the following registry key:
OpenVPN Startup.reg (right-click, save, and run)

openvpn-gui = C:\\Program Files\\OpenVPN\\bin\\openvpn-gui.exe

Change client1 as needed for the name of each client config file.

10. Troubleshooting | Next Section Previous Section