VPN with INSYS routers Configuring OpenVPN client with certificate-based authentication under Windows. Configuration Guide

Similar documents
VPN with INSYS routers Configuring OpenVPN client with authentication via CA certificate and password. Configuration Guide

VPN with INSYS routers Configuring OpenVPN client with authentication via static key. Configuration Guide

INSYS Smart Device Monitoring App Monitoring a Modbus Register. Configuration Guide

INSYS Router. Add-On Manual for CLI Configuration. Add-On Manual

Add-On Manual. INSYS GSM 4.3 easy. Apr-09

Flexible. Powerful. Future-proof.

Whitepaper. OpenVPN Client/Router. Version 1 / 12/15/2015

R&S GP-U gateprotect Firewall How-to

Any duplication of this manual is prohibited. All rights on this documentation and the devices are with INSYS MICROELECTRONICS GmbH Regensburg.

APPLICATION NOTES DELOMATIC 4, DM-4 GAS/HYDRO

Setting up a secure VPN Connection between the TS Adapter IE Advanced and Windows 7

Installation Quick Start SUSE Linux Enterprise Server 11

Setting up a secure VPN Connection between a Tablet (ios), SCALANCE S615 and SINEMA Remote Connect Server. SINEMA Remote Connect, SCALANCE S615

Remote Access via Cisco VPN Client

Viola M2M Gateway. OpenVPN Application Note. Document version 1.0 Modified September 24, 2008 Firmware version 2.4

Flexible. Powerful. Future-proof.

Any duplication of this manual is prohibited. All rights on this documentation and the devices are with INSYS MICROELECTRONICS GmbH Regensburg.

Installation Guide. CompanyCRYPT v1.4.5

Industrial 4G LTE Cellular Router


Diagnostic and verification software ScanMaster FZC500

Configuring OpenVPN on pfsense

Setting up a secure VPN Connection between SCALANCE M-800 and SSC

User Manual. SSV Remote Access Gateway. Web ConfigTool

Modular Industrial Router MRX

SAP GUI 7.30 for Windows Computer

EcoSystem Programmer. Installation Guide. Step 1: Install the EcoSystem Programmer PC Software. Please Read

Installation Guide. CompanyCRYPT v1.4.5

GB-OS. Certificate Management. Tel: Fax Web:

Quick Start Guide. Sensor Studio IO-Link USB-Master 2.0

Guide Installation and User Guide - Windows

Setting up a secure VPN Connection between two M812-1 Using a static IP Address

u-link Remote Access Service Technical User Guide Version 1.4

Visual Nexus Endpoint. User Setup Guide. Version 3.0

How to Set Up External CA VPN Certificates

Sophos Firewall Configuring SSL VPN for Remote Access

Works with LES1200, LES1300, and LES1500 Series console servers.

inubit Suite 6 Quick Start

In this article I will show you how to enable Outlook Web Access with forms based authentication in Exchange Server 2007 Beta 2.

Network Guide NPD EN

Setting up a secure VPN Connection between SCALANCE S and SSC Using a static IP Address. SCALANCE S, SOFTNET Security Client

Acronis Backup & Recovery 11 Beta Advanced Editions

SecuRemote for Windows 32-bit/64-bit

SSL Certificate Based VPN

Whitepaper. IPSec Client/Router. Version /1/2016

WINDOWS 64-BIT INSTALLATION NOTES VMWARE PLAYER Micro Planner X-Pert V3.5.1 Digital Download Edition

Industrial Data Communication

Leica IP C and IP S. Printer Driver Software For the Windows 8.1 (32/64 bit) and Windows 10 (64 bit) operating systems

inubit 6.1 Quick Start

Using VMware View Client for Mac

Part # Quick-Start Guide. SpeedStream 4200 Modem PPPoE Modem Router

vsphere PowerCLI Installation Guide VMware vsphere PowerCLI 4.1 Update 1 EN

Installation Guide. EventTracker Enterprise. Install Guide Centre Park Drive Publication Date: Aug 03, U.S. Toll Free:

Visual Nexus Version 4.0

Pre-Operation Confirmation Login and Logout Displaying Device Information Downloading and Installing Packages Appendix

Firmware Update Tool Software Program for Updating the Firmware for the SECUTEST BASE, BASE10 and PRO Test Instruments

BIG-IP Access Policy Manager : Portal Access. Version 13.0

Setting up a secure VPN connection between two SCALANCE S Modules Using a static IP Address

INHALT. 1. Prior to installation 5 2. Important information for the free student and 2. free teacher license Installing the Program 7

inode Fax Relay Agent Integrated with Windows Fax Services

Parallels Remote Application Server

On-demand target, up and running

GIFTePay XML SVS/GCS. Installation & Configuration Guide. Version Part Number: (ML) (SL) GIFTePay XML for SVS/GCS 4.

GIFTePay XML. Chockstone. Installation & Configuration Guide. Version Part Number: (ML) (SL)

3.1 Getting Software and Certificates

GB-Ware. Quick Guide. Powered by: Tel: Fax Web:

PC Audit Trail Manager Software PCAT. B Operating Manual 02.04/

Securepoint Security Systems Version 2007nx Release 3 & NCP Secure Entry Client

XLmanage Version 2.4. Installation Guide. ClearCube Technology, Inc.

GIFTePay XML. SecurePay. Installation & Configuration Guide. Version Part Number: (ML) (SL)

HTG XROADS NETWORKS. Network Appliance How To Guide: PPTP Client. How To Guide


Instruction Manual. Vimar By-web Software for Android mobile devices User Manual

Comodo Offline Updater Utility Software Version

SIMATIC NET. Industrial Remote Communication - Remote Networks SINEMA Remote Connect. Preface. Connecting the SINEMA RC Server to the WAN 1

Quick start-up guide EN (from firmware V 1.7.0) June 19th, HW01

Products that are referred to in this document may be trademarks and/or registered trademarks of the respective owners.

Cloud Simulation. Connectivity Guide

estos UCServer Web Services

CaliberRDM. Installation Guide

Manual. MoRoS GPRS 2.1 PRO

VIDOS Monitor Wall. Installation and Operating Manual

GP-N100 Utility Software Manual

Manual INSYS ADSL 1.1

Using a VPN with Niagara Systems. v0.3 6, July 2013

Connection. to SECON-Server

Installing Encompass360 SmartClient

1. A broadband connection. 2. Windows Vista (for these instructions; other operating systems have other instructions).

Instructions for Use. MyDataUploader. Online Help Version for Software 1.3.2

Guide Installation and User Guide - Mac

APPLICATION NOTE 003. WeConnect. Industrial Remote Access Made Easy. AppNote003-WeConnect ver1.0. page 1

Astaro Security Linux v5 & NCP Secure Entry Client A quick configuration guide to setting up NCP's Secure Entry Client and Astaro Security Linux v5

Configuring OpenVPN Server on Endian

UC for Enterprise (UCE) NEC Centralized Authentication Service (NEC CAS)

Manual. MoRoS MI. Sep-09

Sherlock Tutorial Getting Started

Using the Terminal Services Gateway Lesson 10

Configuring User VPN For Azure

Setting up a secure VPN Connection between CP x43-1 Adv. and SOFTNET Security Client Using a static IP Address

Top Producer 7i Remote

Transcription:

VPN with INSYS routers Configuring OpenVPN client with certificate-based authentication under Windows Configuration Guide

Pos: 1 /Datenkommunikation/Configuration Guide/=== ORGA - Module ===/1 Einführung: Prinzipschaltbild und Ziel/1-0 h1 --- Einführung --- @ 5\mod_1243351890374_91.doc @ 20029 @ 1 Introduction Copyright 2014 INSYS MICROELECTRONICS GmbH Any duplication of this üublication is prohibited. All rights on this publication and the devices are with INSYS MICROELECTRONICS GmbH Regensburg. Trademarks The use of a trademark not shown below is not an indication that it is freely available for use. MNP is a registered trademark of Microcom Inc. IBM PC, AT, XT are registered trademarks of International Business Machine Corporation. Windows is a registered trademark of Microsoft Corporation. Linux is a registered trademark of Linus Torvalds. INSYS is a registered trademark of INSYS MICROELECTRONICS GmbH. The principles of this publication may be transferred to similar combinations. INSYS MICROELECTRONICS GmbH does not assume liability or provide support in this case. Moreover, it cannot be excluded that other effects or results than described here are produced, if other, similar components are combined and used. INSYS MICROELECTRONICS GmbH is not liable for possible damages. Publisher INSYS MICROELECTRONICS GmbH Hermann-Köhl-Str. 22 D-93049 Regensburg Germany Phone +49 941 58692 0 Fax +49 941 58692 45 E-mail URL info@insys-icom.com http://www.insys-icom.com Print 13. Jun. 2014 Item No. - Version 1.5 Language EN 2 Configuring OpenVPN client with certificate-based authentication under Windows EN Vers. 1.5 13. Jun. 2014 www.insys-icom.com

Pos: 5 /Datenkommunikation/Configuration Guide/=== ORGA - Module ===/3 Konfiguration/3-0 h1 --- Konfiguration --- @ 4\mod_1239201153573_91.doc @ 18709 @ 1 1 Introduction Introduction General The present publication refers to a combination of selected hardware and software components of INSYS MICROELECTRONICS GmbH as well as other manufacturers. All components have been combined with the target to realize certain results and effects for certain applications in the field of professional data transfer. All components have been prepared, configured and used as described in this publication. Thus, the desired results and effects have been achieved. The exact descriptions of all used components, to which this publication refers, are described in the tables Hardware, Accessories and Software at the end of this publication. The symbols and formattings used in this publication are explained in the correspondent section at the end of this publication. Some configurations or preparations, which are precondition in this publication, are described in other publications. Therefore, always refer to the related device manuals. INSYS devices with web interface provide you with helpful information about the configuration possibilities, if you click on "display help text" in the header. Target of this Publication A Windows PC can also act as an OpenVPN client in an OpenVPN network.. Refer to http://www.openvpn.eu for further information about OpenVPN. Use this publication to find out how to set up a Windows PC as OpenVPN client with certificate-based authentication for an OpenVPN network with an INSYS router as OpenVPN server. The present publication describes the proceeding under Windows 7. Proceed accordingly for an installation under Windows Vista or Windows XP. Figure 1: Windows PC as OpenVPN client with certificate-based authentication Configuring OpenVPN client with certificate-based authentication under Windows 3 www.insys-icom.com 13. Jun. 2014 Vers. 1.5 EN

Pos: 8 /Datenkommunikation/Configuration Guide/MoRoS/VPN-Zertifikate mit easy-rsa erzeugen/3 Konfiguration - Zertifikate mit easy-rsa erzeugen/3-01 HA OpenVPN-Paket herunterladen @ 5\mod_1261557677215_91.doc @ 22967 @ Configuration 2 Configuration Provisions Please prepare the following items before starting the configuration: Downloading the OpenVPN Package Installing the OpenVPN Package on a Windows PC Creating a Certificate Structure Configuring an INSYS Router as OpenVPN Server and Display Configuration File Downloading the OpenVPN Package How to download the OpenVPN package from our website. PC with approx. 1.5 MB free disk space Web browser Internet connection 1. Open http://www.insys-icom.com/driver/ to download the drivers. 2. Click on the link for your Windows version in the "Router" section: Refer to Control Panel, System, System section and System type for your Windows version (32 or 64 bit). If a more recent version is available, download this. 3. Save the file on your PC. You have downloaded the OpenVPN package software with this. 4 Configuring OpenVPN client with certificate-based authentication under Windows EN Vers. 1.5 13. Jun. 2014 www.insys-icom.com

Pos: 10 /Datenkommunikation/Configuration Guide/MoRoS/OpenVPN-Client unter Windows installieren/3 Konfiguration - OpenVPN-Server unter Windows installieren/3-03 HA Zertifikatsstruktur erzeugen @ 6\mod_1274954303824_91.doc @ 27147 @ Configuration Installing the OpenVPN Package on a Windows PC How to install the OpenVPN GUI and the programs for creating the certificates and keys on your PC successfully. You have downloaded the OpenVPN packet (version 2.3.3 or higher) from the INSYS website (www.insys-icom.com/driver). 1. Execute the previously downloaded installation file If Windows displays a security request, confirm it. 2. Start the setup wizard and accept the license agreement. The component selection window appears. 3. Check the "OpenVPN RSA Certificate Management Scripts", select Next > and continue the setup wizard. If a Windows log test warning is displayed, confirm it. 4. Click on Finish upon completion of the installation. The OpenVPN GUI, the SSL software and the programs for creating the certificates and keys are now in the specified directories (default: C:\Program Files\OpenVPN\). You have successfully installed the OpenVPN package on your PC and completed the provisions with this. Configuring OpenVPN client with certificate-based authentication under Windows 5 www.insys-icom.com 13. Jun. 2014 Vers. 1.5 EN

Pos: 11 /Datenkommunikation/Configuration Guide/MoRoS/OpenVPN-Client unter Windows installieren/3 Konfiguration - OpenVPN-Server unter Windows installieren/3-04 HA MoRoS als OpenVPN-Server mit Zertifikaten konfigurieren und Konfigurationsdatei anzeigen @ 6\mod_1274954304277_91.doc @ 27153 @ Configuration Creating a Certificate Structure How to create a certificate structure for your application. 1. Create a certificate structure for your application. A detailed description of this process can be found in our configuration guides "Creating X509.V3 Certificates for VPNs with easy-rsa" or "Creating X509.V3 Certificates for VPNs with XCA". You have created a certificate structure consisting of certificates and keys for CA, server and clients. 2. Copy client key and certificate as well as CA certificate into the working directory of the OpenVPN package (default: C:\Program Files\OpenVPN\config). If you have received a PKCS#12 file that contains certificates and key (e.g. "Client_1.p12"), this already contains all files. Copy this file only to above directory in this case. The OpenVPN client has the required keys and certificates available with this. 6 Configuring OpenVPN client with certificate-based authentication under Windows EN Vers. 1.5 13. Jun. 2014 www.insys-icom.com

Pos: 12 /Datenkommunikation/Configuration Guide/OpenVPN/OpenVPN-Server unter Windows installieren/3 Konfiguration - OpenVPN-Server unter Windows installieren/3-10 TÄ Konfiguration @ 5\mod_1264065755412_91.doc @ 23283 @ Configuration Configuring an INSYS Router as OpenVPN Server and Display Configuration File How to create a configuration file for the OpenVPN client using an INSYS router, which is configured as OpenVPN server. This is the most convenient way to generate a configuration file. Of course, this can also be created manually. You have created a certificate structure for your application. 1. Configure an INSYS router, which shall act as OpenVPN server, according to your application. A detailed description about this can be found in the configuration guide "Configuring an OpenVPN Server with Certificate-Based Authentication". The INSYS router can generate a suitable configuration file for an Open- VPN client after this processes have been completed. 2. Click on the link "Create sample configuration file for remote terminal" to display this configuration file. 3. Copy the complete text of this configuration file to the clipboard to able to paste it into a text editor in the next step. You have created a configuration file for the OpenVPN client with this, which must be adjusted to your application now. Configuring OpenVPN client with certificate-based authentication under Windows 7 www.insys-icom.com 13. Jun. 2014 Vers. 1.5 EN

Configuration Configuration Adjust the example configuration to your application now. The following steps are necessary for this: Creating the Configuration File from the Example Configuration How to create a configuration file for the OpenVPN client from the example configuration of the INSYS router. The OpenVPN package is installed on the computer, which shall act as client. You have created the example configuration for the remote terminal using an INSYS router, which is configured as OpenVPN server, and copied it to the clipboard. You must know the IP address accessible via the internet or the domain name of the INSYS router. This IP address depends on the architecture of the INSYS router network. If the INSYS router is behind a DSL router like in the following figure for example, its WAN IP address must be used. A corresponding port forwarding rule of the tunnel to the INSYS router must be present in the DSL router. If the INSYS router is directly connected to a DSL modem without intermediate router like in the following figure, the IP address of the INSYS router must be used. If the INSYS router has no fixed IP address, a DynDNS domain name can also be entered, which will then be resolved by the client. For this, DynDNS must be enabled in the DSL router (first example) or in the INSYS router (second example). Information about this can be found in the documentation of the INSYS router. A DNS server must also be entered in the client for this. 1. Change to the working directory of the OpenVPN package (default: C:\Program Files\OpenVPN\config). 2. Create a new text file there and assign it a file name with the suffix ".ovpn" (e.g. "client.ovpn"). Make sure that your text editor has not appended the suffix ".txt" to the file. Depending on the Windows configuration, it might also be possible that the display of this suffix is suppressed even if it exists. 8 Configuring OpenVPN client with certificate-based authentication under Windows EN Vers. 1.5 13. Jun. 2014 www.insys-icom.com

Pos: 14 /Datenkommunikation/Configuration Guide/MoRoS/OpenVPN-Client unter Windows installieren/3 Konfiguration - OpenVPN-Server unter Windows installieren/3-20 TÄ Inbetriebnahme @ 6\mod_1274954306855_91.doc @ 27183 @ It is also possible that several configuration files are present in the working directory. 3. Open the file with a text editor. 4. Copy the previously created example configuration into this file. Configuration 5. Adjust the file names for CA certificate as well as server certificate and key according to the previously created files (here lines 7 to 9). If you have received a PKCS#12 file that contains certificates and key (e.g. "Client.p12"), this already contains all files. Delete in this case the lines 7 to 9 and insert a line for this file instead (e.g. "pkcs12 client.p12"). 6. Adjust the IP address or DNS name of the OpenVPN server in the "remote" command (here line 6). 7. Remove the "#" symbol to enable the "route-method exe" command (here line 27). 8. Remove the "#" symbol to enable the "route-delay 2" command (here line 28). 9. Save the modified configuration file. You have created a configuration file from the example configuration with this and tailored it to your application. Configuring OpenVPN client with certificate-based authentication under Windows 9 www.insys-icom.com 13. Jun. 2014 Vers. 1.5 EN

Configuration Initial Operation Start the OpenVPN client now to connect to the server in an OpenVPN network. The following steps are necessary for this: Starting the OpenVPN Client How to start the OpenVPN client with the computer already in operation. This option via the GUI is suitable for testing the configuration. The option to start the OpenVPN client automatically with the start of the computer is described below. The OpenVPN package is installed on the computer, which shall act as client. You have already saved client certificate and key as well as CA certificate in the OpenVPN working directory. You have adjusted the configuration file to your application. The OpenVPN client is started. 1. Start the OpenVPN GUI via Start Program Files OpenVPN Open- VPN GUI or the desktop icon. The OpenVPN GUI must be run as administrator (via the context menu) explicitly under Windows 7 and Windows Vista. It is not sufficient to be registered as administrator when the OpenVPN GUI is started. 2. If necessary, click on the symbol for showing the hidden icons in the task bar. 3. Right-click onto the symbol of the OpenVPN GUI in the task bar and select Connect (or client Connect if several configuration files are present (client indicates your configuration file here; in our example client.ovpn)). You have started the OpenVPN client with this. The symbol of the Open- VPN GUI is displayed green as soon as the connection to the OpenVPN server has been established successfully. If the symbol remains yellow, the OpenVPN client tries to reach the server, but the connection cannot be established. A connection log can be displayed using the menu item "View Log". The respective service can also be enabled for an automatic start of the OpenVPN client with the start of the computer. 10 Configuring OpenVPN client with certificate-based authentication under Windows EN Vers. 1.5 13. Jun. 2014 www.insys-icom.com

Pos: 16 /Datenkommunikation/Configuration Guide/=== ORGA - Module ===/5 Verwendete Komponenten / Weiterführende Informationen/5-0 h1 --- Verwendete Komponenten --- @ 5\mod_1253000236681_91.doc @ 21647 @ 1 In this case, instances for all configuration files, which are present in the working directory of the OpenVPN package, will be started. Therefore, delete all configuration files, which are not required, from the directory. 4. Open the Control Center via Start Settings Control Center. 5. Double-click in the section "Control Center" the entry "Management". 6. Double-click in the section "Management" the entry "Services". 7. Double-click in the section "Services" the entry "OpenVPNService". Configuration 8. Change the "Start type" to "Automatic" and click on "OK". You have configured the OpenVPN client for an automatic start when starting up the computer. Configuring OpenVPN client with certificate-based authentication under Windows 11 www.insys-icom.com 13. Jun. 2014 Vers. 1.5 EN

Pos: 18 /Datenkommunikation/Configuration Guide/=== ORGA - Module ===/5 Verwendete Komponenten / Weiterführende Informationen/5-5 h1 --- Weiterführende Informationen --- @ 5\mod_1264599488216_91.doc @ 23333 @ 1 Used Components 3 Used Components Software Description Manufacturer Type Version OpenVPN package Open Source OpenVPN with GUI 2.3.3 Operating system Microsoft Windows 7 Table 1: Used software 12 Configuring OpenVPN client with certificate-based authentication under Windows EN Vers. 1.5 13. Jun. 2014 www.insys-icom.com

Pos: 21 /Datenkommunikation/Notizen - Leere Seite zum Auffüllen auf Seitenumfang "x mal 4" @ 5\mod_1242998978108_91.doc @ 19977 @ 4 Further Information Further Information 4.1 Literature OpenVPN Das Praxisbuch ISBN: 978-3-8362-1197-0 Publisher: Galileo Computing OpenVPN Grundlagen, Konfiguration, Praxis ISBN: 978-3-89864-396-2 Publisher: dpunkt.verlag 4.2 Web Links OpenVPN Technologies, Inc.: http://www.openvpn.net OpenVPN e.v.: http://www.openvpn.eu Configuring OpenVPN client with certificate-based authentication under Windows 13 www.insys-icom.com 13. Jun. 2014 Vers. 1.5 EN

=== Ende der Liste für Textmarke Inhalt === Notes 5 Notes 14 Configuring OpenVPN client with certificate-based authentication under Windows EN Vers. 1.5 13. Jun. 2014 www.insys-icom.com

Notes Configuring OpenVPN client with certificate-based authentication under Windows 15 www.insys-icom.com 13. Jun. 2014 Vers. 1.5 EN

Germany INSYS MICROELECTRONICS GmbH Hermann-Köhl-Str. 22 93049 Regensburg Germany Phone +49 941 58692 0 Fax +49 941 58692 45 E-mail URL info@insys-icom.com www.insys-icom.com Great Britain INSYS MICROELECTRONICS UK Ltd. The Venture Centre Univ. of Warwick Science Park Sir William Lyons Road Coventry, CV4 7EZ Great Britain Phone +44 2476 323 237 Fax +44 2276 323 236 E-mail URL info@insys-icom.co.uk www.insys-icom.co.uk Czech Repulic INSYS MICROELECTRONICS CZ, s.r.o. Slovanská alej 1993 / 28a 326 00 Plzen-Východní Předměstí Czech Republic Phone +420 377 429 952 Fax +420 377 429 952 Mobile +420 777 651 188 E-mail URL info@insys-icom.cz www.insys-icom.cz