When prompted, enter the “Common Name” as the name you have chosen (e.g. When prompted to sign the certificate, enter “y”įor each client, choose a name to identify that computer, such as “mike-laptop” in this example. When prompted, enter the “Common Name” as “server” The server certificate and key: build-key-server server Organizational Unit Name (eg, section) :Ĭommon Name (eg, your name or your server's hostname) :OpenVPN-CAĮmail Address This builds the ca key in C:\Program Files\OpenVPN\easy-rsa\keys For example, “OpenVPN-CA”: Country Name (2 letter code) : For your “Common Name,” a good choice is to pick a name to identify your company’s Certificate Authority. These will have default values, which appear in brackets. The certificate authority (CA) certificate and key: build-ca with your company’s information: set KEY_COUNTRY=US Open the vars.bat file in a text editor: notepad vars.batĮdit the following lines in vars.bat, replacing “US”, “CA,” etc. NOTE: Only run init-config once, during installation. Initialize the OpenVPN configuration: init-config Navigate to the correct folder: cd "C:\Program Files\OpenVPN\easy-rsa" Navigate to the C:\Program Files\OpenVPN\easy-rsa folder in the command prompt:
![openvpn connect windows ovpn examplw openvpn connect windows ovpn examplw](https://support.eapps.com/eapps_images/ispmgr_images/vpn_img/vpn_win_connect.png)
(This step can be skipped for now and done at any convenient time) Assign a static IP to the new created TAP interface (like 10.8.0.1).Remember to adjust the Windows firewall (open the 1194 UDP port).Open the installer file and start the installation.
![openvpn connect windows ovpn examplw openvpn connect windows ovpn examplw](https://www.copahost.com/blog/wp-content/uploads/2016/05/ovpn1.jpg)
SERVER SETUPĭownload the installer from and run it on the server computer.
#Openvpn connect windows ovpn examplw how to#
Need to setup a VPN? Here’s how to download and install OpenVPN.