Description:

This document describes how to set up a VPN-SSL connection with the OpenVPN Client from a Windows PC or notebook to a LANCOM R&S®Unified Firewall (referred to here as the United Firewall).

Due to a change in the encryption algorithms in OpenVPN as of version 2.6.0 it is not possible to establish a VPN-SSL connection to a Unified Firewall anymore. Therefore please use OpenVPN in a version older than 2.6.0 (e.g. version 2.5.8).


Requirements:

We recommend that you use the LANCOM Advanced VPN Client for VPN client connections. You can find articles regarding the configuration in this master document.


Scenario:

1) The Unified Firewall is connected directly to the Internet and has a public IPv4 address:


2) The Unified Firewall is connected to the Internet via an upstream router:

This scenario also includes the “parallel” solution as described in this article.



Procedure:

The setup for scenarios 1 and 2 are basically the same. Scenario 2 additionally requires port forwarding to be set up on the upstream router (see section 3).


1) Configuration steps on the Unified Firewall:

1.1) Connect to the Unified Firewall, switch to the menu Certificate Management → Certificates and click on the "+” icon to create a new CA.

1.2) Modify the following parameters and click Create:

The rest of the parameters (e.g. the encryption settings) can be left at the default values.

1.3) Create another certificate by clicking on the "+” icon. This is used for authenticating VPN SSL connections on the Unified Firewall.

1.4) Modify the following parameters and click Create :

The rest of the parameters (e.g. the encryption settings) can be left at the default values.

1.5) Create another certificate by clicking on the "+” icon. This is used for authenticating an individual VPN SSL user.

1.6) Modify the following parameters and click Create:


The field Subject Alternative Name can be used for easier identification of each employee, such as entering their e-mail address.

The rest of the parameters (e.g. the encryption settings) can be left at the default values.

1.7) Switch to the menu VPN → VPN SSL → VPN SSL Settings.

1.8) Enable the VPN SSL service via the slider, modify the following parameters and click Save:

Optionally you can enter a DNS and/or WINS server, which are assigned to all VPN SSL clients.

If necessary, you can change the Port.

The Address Pool is the range of IP addresses that are assigned to the dial-in VPN SSL clients. This address range must not already be in use as an internal network in the Unified Firewall.

1.9) Change to the menu VPN → VPN SSL → Connections and click on the “+” icon to create a new VPN SSL connection.

1.10) Modify the following parameters and click Create:

With the function Set Default Gateway activated, the VPN client can communicate with the Internet via the Internet connection of the Unified Firewall.

The item Client IP allows a fixed IP address to be assigned to the VPN client. If this entry is left empty, the VPN client is given an IP address from the Address Pool (see step 1.8).

Additional Local Networks optionally allows the VPN client to access other local networks. In this way, individual employees can be given access to different local networks.

1.11) For the VPN SSL connection click on the Export this connection button to export the connection parameters including the certificate.

It is possible that you have to click on the double arrow symbol first (right next to the field Filter) to expand the menu, so that the symbol for the profile export is visible.

As an alternative you can also click on the "pencil" button to edit the configuration and click on Export Client Configuration afterwards.

1.12) Modify the following parameters and then click on Export.

1.13) Click the button to create a new VPN host.

1.14) Modify the following parameters and click Create:

1.15) In the VPN host click on the "connection" icon and, to open the firewall objects, click on the network object that the OpenVPN client should access.

Repeat this step for every network that the OpenVPN client should be able to access.

1.16) Use the “+” signs to assign the required protocols to the VPN host.

A Unified Firewall uses a deny-all strategy. You therefore have to explicitly allow communication.

1.17) Finally, implement the configuration changes by clicking Activate in the Unified Firewall.

1.18) This concludes the configuration steps on the Unified Firewall.



2) Configuration steps in the OpenVPN client:

2.1) Right click on the OpenVPN icon in the task bar.

2.2) Click Import file to import the VPN profile.

2.3) A message is displayed to indicate that the profile was successfully imported.

2.4) This concludes the configuration steps in the OpenVPN client.



3) Setting up port and protocol forwarding on a LANCOM router (scenario 2 only):

By default VPN SSL uses the UDP port 1194 . This must be forwarded to the Unified Firewall.

If you are using a router from another manufacturer, ask them about appropriate procedure.

3.1) Open the configuration for the router in LANconfig and switch to the menu item IP-Router → Masq . → Port forwarding table .

3.2) Save the following parameters:

3.3) Write the configuration back to the router.