ewon-vpn - User Guide Virtual Private Network by ewons



Similar documents
VPN Direct connection How To

Linking 2 Sites Together Using VPN How To

ewon-configuration for Internet Access using the Wizard How to

ENDIAN Topologies Setup of different Network topologies with Endian Firewalls

How To Connect To An Egrabit With A Vpn On A Pc Or Mac Or Ipad (For Pc Or Ipa) With A Pv (For Mac) Or Ipv (Femalese) With An Ipv Or Ip

How to establish a Leased Line Connection

Edgewater Routers User Guide

Edgewater Routers User Guide

Networking Basics for Automation Engineers

Firewall VPN Router. Quick Installation Guide M73-APO09-380

Multi-Homing Dual WAN Firewall Router

FINS Gateway For OMRON PLCs

GPRS / 3G Services: VPN solutions supported

Talk2M ewon Internet Connection How To

Remote Access for Schneider Electric Modicon Micro & Premium Series PLCs

Internet Access to a DVR365

Talk2M Free+ Remote-Access Connectivity Solution for ewon COSY devices. Getting Started Guide

How to setup PPTP VPN connection with DI-804HV or DI-808HV using Windows PPTP client

Network Configuration Settings

Chapter 12 Supporting Network Address Translation (NAT)

Wireless G Broadband quick install

Guideline for setting up a functional VPN

Multi-Homing Security Gateway

Smart Tips. Enabling WAN Load Balancing. Key Features. Network Diagram. Overview. Featured Products. WAN Failover. Enabling WAN Load Balancing Page 1

DSL-G604T Install Guides

BROADBAND INTERNET ROUTER USER S MANUAL. Version Page 1 of 13 -

How To - Setup Cyberoam VPN Client to connect to a Cyberoam for the remote access using preshared key

UIP1868P User Interface Guide

Protecting the Home Network (Firewall)

PPTP Server Access Through The

TW100-BRF114 Firewall Router. User's Guide. Cable/DSL Internet Access. 4-Port Switching Hub

NETWORK SETUP GLOSSARY

How To Configure Apple ipad for Cyberoam L2TP

HREP Series DVR DDNS Configuration Application Note

Appendix C Network Planning for Dual WAN Ports

Broadband Router ESG-103. User s Guide

Data Transfer Management with esync 1.5

M2M Series Routers. Port Forwarding / DMZ Setup

How To Setup Cyberoam VPN Client to connect a Cyberoam for remote access using preshared key

Broadband Router ALL1294B

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

Prestige 202H Plus. Quick Start Guide. ISDN Internet Access Router. Version /2004

DATA SECURITY 1/12. Copyright Nokia Corporation All rights reserved. Ver. 1.0

Configuring Network Address Translation (NAT)

SSL-VPN 200 Getting Started Guide

Network Setup Guide. 1 Glossary. 2 Operation. 1.1 Static IP. 1.2 Point-to-Point Protocol over Ethernet (PPPoE)

Chapter 2 Connecting the FVX538 to the Internet

Broadband Phone Gateway BPG510 Technical Users Guide

Talk2M Free+ Remote-Access Connectivity Solution for ewon COSY 131 3G devices. Getting Started Guide

Remote Access for Siemens S7-300 & 400 PLCs, and their VIPA equivalents S300 SPEED7.

NAS 224 Remote Access Manual Configuration

Innominate mguard Version 6

Chapter 4 Customizing Your Network Settings

PFSENSE Load Balance with Fail Over From Version Beta3

DIR-100. Before You Begin. Check Your Package Contents. Triple Play Router

Best Practices: Pass-Through w/bypass (Bridge Mode)

Virtual Server in SP883

WestermoConnect User Guide. VPNeFree Service

SMC7004ABR Barricade Broadband Router Installation Instructions

Barracuda Link Balancer

Configuring High Availability for Embedded NGX Gateways in SmartCenter

TW100-BRV204 VPN Firewall Router

User Manual. Page 2 of 38

PowerLink Bandwidth Aggregation Redundant WAN Link and VPN Fail-Over Solutions

Chapter 1 Configuring Basic Connectivity

Step-by-Step Configuration

ewonx104 ADSL connection

Chapter 5 Customizing Your Network Settings

Experiment # 6 Remote Access Services

ASUS WL-5XX Series Wireless Router Internet Configuration. User s Guide

LevelOne. User Manual. FBR-1430 VPN Broadband Router, 1W 4L V1.0

ecatcher - Security Features with a Talk2M Pro Account

Chapter 4 Managing Your Network

Chapter 15: Advanced Networks

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

Access Schneider Electric PLCs through an existing Talk2M connection

Setting up D-Link VPN Client to VPN Routers

VPN Solution Guide Peplink Balance Series. Peplink Balance. VPN Solution Guide Copyright 2015 Peplink

The Billion 8800NL - All-In-One Bridge modem solution for the UK For use with a dedicated firewall

Basic ViPNet VPN Deployment Schemes. Supplement to ViPNet Documentation

5.0 Network Architecture. 5.1 Internet vs. Intranet 5.2 NAT 5.3 Mobile Network

How To Configure A Kiwi Ip Address On A Gbk (Networking) To Be A Static Ip Address (Network) On A Ip Address From A Ipad (Netware) On An Ipad Or Ipad 2 (

ADSL MODEM. User Manual V1.0

Technical Support Information

Explaining DMZ s and Port Forwarding for home networking, broadband routers, and NAT connection sharing. First some definitions (greatly simplified)

Business VoIP Solution Training 04/2009

SANGFOR SSL VPN. Quick Start Guide

Case Study for Layer 3 Authentication and Encryption

Basic Network Configuration

How To Industrial Networking

ERserver. iseries. Remote Access Services: PPP connections

Using Remote Desktop Software with the LAN-Cell

Configuring IPSec VPN Tunnel between NetScreen Remote Client and RN300

BR Load Balancing Router. Manual

NSP and VIP. Advanced Options Guide Rev. B

GPRS and 3G Services: Connectivity Options

Savvius Insight Initial Configuration

Setting up VPN connection: DI-824VUP+ with Windows PPTP client

Technical Notes TN 1 - ETG FactoryCast Gateway TSX ETG 3021 / 3022 modules. How to Setup a GPRS Connection?

Chapter 3 Security and Firewall Protection

Transcription:

VPN : what is it? A virtual private network (VPN) is a private communications network usually used within a company, or by several different companies or organizations, to communicate over a public network with secured communications. A good compromise is to use Internet as communication link with a tunnelling protocol (encapsulating the crypted data). This network is called virtual because it links two physical networks (LAN) with a untrusted link (Internet). This network is called private because only the computers (or devices) connected on this VPN can understand the crypted data. In brief, a VPN provide you a global secured link at low cost. unsecured link INTERNET VPN server VPN secured VPN client LAN (private) Figure 1: VPN draft Main advantages of VPN are : low cost by opposition of a real Wide Area Network based on expensive leased lines. the scalability It is easy to add/remove a computer from the VPN. Main disadvantages of VPN are : VPNs require an in-depth understanding of public network security issues and taking proper precautions in VPN deployment. The availability and performance of an organization's wide-area VPN (over the Internet in particular) depends on factors largely outside of their control. VPN technologies from different vendors may not work well together due to immature standards. VPN need to accommodate protocols other than IP and existing ("legacy") internal network technology. The purpose of this document is to show you how to setup your VPN (Virtual Private Network) with ewons. Page 2/21

ewons as VPN routers To build your VPN, you need that all participants speak the same crypted language. If they are computers, it is feasible to install some VPN software to handle a VPN layer. In the case of old computers or Ethernet devices like PLCs, it is impossible to put the VPN inside the devices. You need to build your Network in a way completely transparent for the participants. That job is done by VPN Routers. Not all ewons are able to be VPN Routers, only the ewon2101, ewon4101, ewon2005 and ewon4005. ewon2101 ewon4101 ewon2005 Industrial VPN Routers ewon4005 Industrial Broadband VPN Routers These ewons allow you to put Ethernet devices on These ewons allow you to put Ethernet devices on your VPN by a Dial-up connection (PSTN, ISDN, GSM your VPN from a broadband connection (like ADSL) or GPRS). or by a Dial-up connection (PSTN, ISDN, GSM or GPRS). Remote Maintenance Alarms Remote Maintenance Alarms datalogging viewon Remote Maintenance Alarms Remote Maintenance Alarms datalogging viewon On the computer side, you have two software companions : ecatcher : the ewon connection tool esync Connect : the VPN Server application Technologies Today, they are many VPN technologies available, ACT'L choose to build VPN on OpenVPN standard (see http://openvpn.net). In esync Connect, we need WebServer, DataBase and ServerSide technologies, ACT'L choose to use Apache (see http://www.apache.org) MySQL (see http://www.mysql.com) PHP (see http://www.php.net). Page 3/21

VPN : general topology B G A H VPN C F D E Figure 2: VPN general topology With a VPN, you want generally to build a network like the one in Figure 2. All the devices on the yellow zone are on the same Virtual Private Network. Every devices on the VPN can connect to every other. The devices on G and H can access to Internet but have no access to VPN. Page 4/21

A) VPN server To build a VPN, you need a server playing the role of master of VPN communications. Every device must contact the Server to enter on the VPN. ACT'L has developed the esync application to make easier the installation, configuration and daily use of the VPN. The installation of your esync is very simple (follow the installer) and esync will install on your computer : An Apache WebServer listenning port 80 Even if you have already a Webserver running on your computer, but esync will use the port 81. A MySQL Database listenning the port 3306 Even if you have already another one running on your computer, but MySQL will use the port 3307. An OpenVPN layer compose of few Services listenning the port UDP 1194 Even if you have already another OpenVPN running on your computer, but esync will use the port 1195. And you are ready to play secured. You can view your VPN interface on your Network Connections window (renamed here in VPN connection). Figure 3: Network connections With the esync application, you manage your VPN by opening a secure tunnel of communication between every VPN actors and the Server. The standard setup of esync will build a VPN where all actors receive an IP address on the range 10.8.x.x. Figure 4: esync VPN settings These addresses could be assigned statically or dynamically. Page 5/21

By default, the IP address range is divide in two, an half for the Static IP's and the other for DHCP IP's. You can define also the Base Address of all devices placed on the LAN side of ewon-vpn. Then, in our default configuration (see Figure 4), all devices placed behind an ewon-vpn must have an address beginning by 10.9.x.x. to be accessible on the VPN. After the installation, you configure esync with your Browser, just connect you to the LAN IP address of the server (and use the right port if necessary). The Admin account of esync is by default : login: adm password: adm If your Server is accessible on your LAN, you can access to esync from every computer. Server requirements: Server must be accessible from Internet, generally by a fixed IP address. Port TCP 80 must be open for the HTTP traffic (or 81 if esync was installed on 81) Port UDP 1194 must be open on the Server. Page 6/21

B) Local User connection and Remote (F) If you want to go on the VPN from a computer, you need to use the VPN Client ecatcher. You can download it freely from the www.ewon.biz website. The installation requires no parameters. Now, you need a VPN account. Go on esync Configuration, select Users Setup and click on Create New User link. Figure 5: Create new user Fill all informations Figure 6: User Setup and Create the User Certificate with the Create link. You must have the following display when Certificate is generated. Figure 7: User Certificate generated Page 7/21

Now, you need to export this Certificate to your local computer. Figure 8: Export User Certificate For that, select the User you want to export and click to the Export Selected User link. You will be prompted to give the location and name for this XML file. This file is a Key to enter in your VPN! Store it to a secured place or destroy it after usage. you can re-export it if you need it again. In ecatcher, click on the Add an esync Server link and use your User Certificate file to create your VPN link. If you double-click on the new esync Server connection, you will enter in the VPN. Now, your computer have access to all the devices connected to the VPN. For example, you can connect to esync through the VPN connection if you go to http://10.8.0.1:81 (my installation is on port 81). Point (F) : On a Laptop from a Remote location, the communications will pass through your Modem to reach the Server. The address of the Server need to be public. Page 8/21

C) ewon dial-up on VPN To connect your ewon on the VPN, you need to create an account for it. Go on esync Configuration, select ewons Setup and click on the Add an ewon link. Figure 9: Create ewon VPN Fill all informations Figure 10: ewon setup Use the Suggest link to choose a free Fixed IP Address. Don't forget to create the Certificate! Page 9/21

Now, you need to export this Certificate to your local computer. Figure 11: Export ewon Certificate For that, select the ewon you want to export and click to the Export Selected ewon link. You will be prompted to give the location of the file. This file is a Key to enter in your VPN! Store it to a secured place or destroy it after usage. you can re-export it if you need it again. Notice that filename proposed is ewon_001_comcfg.txt, the VPN parameters are formatted in the file to be uploaded VPNCnxType:2 by FTP to configure the ewon. VPNKeyType:1 Just rename the file in comcfg.txt and send it to the ewon by FTP. Now, your ewon has the VPN configuration in place. VPNSecretKey:-----BEGIN RSA PRIVATE KEY----MIICXA... -----END RSA PRIVATE KEY----VPNSecretCert:-----BEGIN CERTIFICATE----MIIDKj... -----END CERTIFICATE----VPNCACert:-----BEGIN CERTIFICATE----MIIDGT... -----END CERTIFICATE----VPNPortOut:1194 VPNAlive:40 VPNSrv1:support.ewon.be VPNSrv2: VPNP2PIpMode:0 At every connection of this ewon on Internet, it will setup the VPN tunnel with the server. By example, you can configure your ewon-pstn to use the Callback sequence to connect to Internet and VPN. Once the ewon is on the VPN, the esync main page shows you the ewon connected by displaying the IP address of it. Figure 12: esync shows ewon connected Page 10/21

If you open another Internet Browser and use this address (http://10.8.128.29), you will be connected on your ewon through the VPN. Figure 13: on ewon by VPN If the WAN Protection (Security) is set to maximum (see Figure 14), the ewon website is accessible only through the VPN (the WAN address provide by the ISP will not answer). Figure 14: WAN Protection If you have a PLC connect to this ewon and you want to access it with the corresponding software, simply use this VPN IP address. Page 11/21

D) ewon GPRS as VPN Gateway The configuration of an ewon acting as VPN Gateway is the same as in the point ewon dial-up on VPN The only things that change in this configuration are : ewon is used as Gateway to other ethernet devices ewon use the built in GPRS modem to be connected (permanently) to Internet Once you create the ewon in esync, configure the LAN settings parameters (use the Suggest link). Figure 15: create ewon with a LAN Then, all devices (and ewon) must have an IP address in this 10.9.9.x range to be part of the VPN. If ewon has the 10.9.9.1 address, don't forget to set this address as Gateway in other devices. If your ewon is an GPRS one, you can check the GPRS connection Type. This option will send the KeepAlive frame slowly (in GPRS, you pay for the traffic not for the time connected). Page 12/21

Once the Certificate is in the ewon, you may configure the ewon to play the Gateway behavior you want. The Gateway function is always activated in ewon-vpn, you don't have the Enable IP Gateway checkbox like in ewon with firmware 4.x. Go on the ewon Routing page, and set the option you need. Figure 16: ewon Routing page Usually, you need to set the NAT and TF (Transparent Forwarding) on WAN. This configuration allows your ethernet devices to use the both interfaces (WAN and VPN) to go outside. The WAN will be used if your device send an email to the ISP. The VPN connection will be use when the device needs to access another VPN participant or when it replies to a request coming from the VPN. As you are in GPRS, you can stay connected permanently to Internet, check the Maintain Connection checkbox. Figure 17: Maintain Connection parameter Be aware that ewon and esync will send small packets (ping) to maintain the connection open (KeepAlive). Then this permanent connection will cost some money (even if there is no usefull traffic). Once connected on GPRS, the ewon will establish its VPN connection and be accessible by other VPN participants. Figure 18: ewon-gateway connected The ewon is accessible at the address 10.8.128.33 (address on the VPN) or at the address 10.9.9.1 (address on the ewon LAN). The devices placed on the LAN of the ewon are accessible by their address 10.9.9.x directly from your computer. Page 13/21

If you display the IP Routes of your computer (command ROUTE PRINT in a DOS box), you will see that VPN has automatically add a Route to the 10.9.0.0 (Base Address of ewons LAN pools in the esync Setup). Figure 19: IP Routes Page 14/21

E) ewon2005 as Broadband VPN router In this configuration, you want to pass through an ADSL router because you need to transmit a lot of data. With an ADSL router, you must use an ewon2005 or ewon4005. These devices have two Ethernet interfaces, one for the WAN (connect to the ADSL router) and one for the LAN (connect to your devices) The setup of this ewon is always very close than those from point C and D. The only thing that differs from point D is : ewon use its WAN interface to connect on Internet. Once you create the ewon in esync, configure the LAN parameters like following. Figure 20: setup ewon2005 in esync Then, all devices must have an IP address in the 10.9.6.x range to be part of the VPN. Page 15/21

On the ewon2005, you have two Ethernet interfaces to configure, the LAN and the WAN. Figure 21: ewon2005 LAN setup Then, if your ewon2005 has the 10.9.6.1 LAN IP address, don't forget to set this address as Gateway in the devices you want to access. And the WAN Ethernet interface must be configure with parameters compatible with your ADSL device. Figure 22: ewon2005 WAN setup Here, you can see that we have an ADSL router on the 10.1.0.1 (ewon default gateway). The IP addresses of your Remote Site will be as shown on the rigth. Figure 23: ewon2005 remote site IP addresses Page 16/21

There is no MODEM configuration to set. You can disable the Modem Outgoing Connection. Figure 24: ewon2005 Outgoing connection disable The VPN configuration is always the same. Put the certificate generate by esync in the ewon. Figure 25: ewon2005 VPN certificate setup In the Networking Config branch, the Internet Connection must be set on the WAN interface. Figure 26: ewon2005 Internet Connection If you need a permanent access to Internet, use the Maintain Connection checkbox (as shown). Page 17/21

VPN Connection must be enable. Figure 27: ewon2005 VPN connection Set the Routing configuration if you need to allow devices on LAN to go outside. Figure 28: ewon2005 Routing Set the Security you need. Figure 29: ewon2005 Security With a WAN Protection Level set to Allow All, your ewon accept also traffic coming from the unsecured world (not VPN). Page 18/21

With this configuration, you can access your ewon2005-vpn through the ADSL. Figure 30: ewon2005 connected in esync The ewon2005 is accessible at this VPN address 10.8.128.17 and at this LAN address 10.9.6.1 (esync knows that all address belonging to 10.9.6.x must be routed to this ewon2005). You can PING your ewon at 10.9.6.1 and your LAN device at 10.9.6.8. Figure 31: ping through VPN Page 19/21

Appendix ewon at C configuration Page 20/21

Page 21/21