LANCOM Support Knowledgebase Document No. 1907.1709.4717.RHOO - V1.70

Setting up an IKEv1 VPN connection with the LANCOM Advanced VPN Client to a LANCOM R&S Unified Firewall


Description:
This article describes how to set up an IKEv1 connection to a LANCOM R&S Unified Firewall with the LANCOM Advanced VPN Client.



Requirements:
  • A configured and functional Internet connection on the Unified Firewall
  • Any web browser for access to the web interface of the Unified Firewall



Scenario:

1) The Unified Firewall is connected directly to the Internet and has a public IPv4 address:
  • A company wants its sales representatives to have access to the corporate network via an IKEv1 client-to-site connection.
  • The notebooks used by the sales representatives have the LANCOM Advanced VPN Client installed on them.
  • The company headquarters has a Unified Firewall as a gateway with an Internet connection with the fixed public IP address 81.81.81.81.
  • The local network at the headquarters has the IP address range 192.168.66.0/24.




2) The Unified Firewall is connected to the Internet via an upstream router:
  • A company wants its sales representatives to have access to the corporate network via an IKEv1 client-to-site connection.
  • The notebooks used by the sales representatives have the LANCOM Advanced VPN Client installed on them.
  • The company headquarters has a Unified Firewall as the gateway and an upstream router for the Internet connection. The router has the fixed public IP address 81.81.81.81.
  • The local network at the headquarters has the IP address range 192.168.66.0/24.
    Info:
    This scenario also includes the “parallel” solution as described in the following article: Document Link Icon






Procedure:

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

1) Configuration steps on the Unified Firewall:

1.1) Connect to the configuration interface of the Unified Firewall and navigate to VPN -> IPSec Settings.



1.2) Activate IPSec.



1.3) Switch to VPN -> IPSec Connections and click on the “+” icon to create a new IPSec connection.



1.4) Save the following parameters:
  • Name: Enter a descriptive name.
  • Connection type: Choose Client-to-Site.
  • Network Connection: From the drop-down menu, select the WAN object used for the Internet connection.
  • Local Network: Enter the local network in CIDR notation (Classless Inter-Domain Routing) with which the VPN client should communicate.
  • Client IP: Assign an IP address from the local network to the VPN client. This IP address is assigned to the VPN client each time it dials in using the IKE config mode.
    Important:
    The name may only contain letters, numbers and underscores.


1.5) Change to the Authentication tab and enter the following parameters:
  • Authentication type: Set PSK only (preshared key).
  • Preshared Key: Enter a preshared key.
  • Local identifier: Set the local identifier.
  • Remote identifier: Set the remote identifier.
    Important:
    The local and remote identifiers must not match!



1.6) Change to the tab ISAKMP (IKE) and, under IKE version, select the type IKEv1.

Leave the remaining parameters at their default values.



1.7) Click the icon to create a new VPN host.



1.8) Save the following parameters:
  • Name: Enter a descriptive name.
  • VPN Connection Type: Select the type IPSec.
  • IPSec Connection: From the drop-down menu under IPSec, select the VPN connection created in steps 1.4 - 1.6.



1.9) In the VPN host, click on the "connection" icon and then click on the network object, which the Advanced VPN Client should be able to access to open the firewall objects.

Repeat this step for every other internal network which the Advanced VPN Client should have access to.



1.10) Use the “+” sign to assign the required protocols to the VPN host.
    Info:
    A Unified Firewall uses a deny-all strategy. You therefore have to explicitly allow communication.

    Info:
    Firewall objects can also be accessed via Desktop -> Desktop Connections and clicking on the “edit” icon.
1.11) Finally, implement the configuration changes by clicking Activate in the firewall.



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



2) Configuring the Advanced VPN Client:

2.1) Open the Advanced VPN Client and navigate to the menu Configuration -> Profiles.



2.2) Click on Add / import to create a new VPN connection.



2.3) Select Link to corporate network using IPSec.



2.4) Enter a descriptive name.



2.5) Select the Communication medium.
    Info:
    If a changing communication medium is used (e.g. LAN and WLAN), use the option automatic media detection.


2.6) Enter the public IP address or the DynDNS name of the Unified Firewall.



2.7) Set the Exchange Mode to IKEv2 and the PFS Group to DH16 (modp4096). Disable the option IPSec-over-HTTPS.



2.8) Save the following parameters:
  • Type: From the drop-down menu, set the Identity Type to Fully Qualified Username (FQUN).
  • ID: Enter the Remote identifier set in step 1.5.
  • Shared Secret: Enter the Preshared key set in step 1.5.



2.9) From the drop-down menu, select the IKE Config Mode so that the VPN client automatically receives the IP address from the Unified Firewall.



2.10) In order to use the function Split Tunneling, enter the target network to be reached via the VPN tunnel.

    Important:
    If split tunneling is not configured, all traffic is transferred over the VPN tunnel while it is established, including traffic intended for the local network or the Internet. This can lead to problems with the communication!


2.11) This concludes the configuration steps in the Advanced VPN Client.



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

IPSec requires the use of the UDP ports 500 and 4500 as well as the protocol ESP. These must be forwarded to the Unified Firewall.

Forwarding the UDP ports 500 and 4500 automatically causes the ESP protocol to be forwarded.
    Info:
    If you are using a router from another manufacturer, ask them about appropriate procedure.

    Important:
    If the UDP ports 500 and 4500 and the ESP protocol are forwarded to the Unified Firewall, an IPSec connection to the LANCOM router can only be used if it is encapsulated in HTTPS (IPSec-over-HTTPS). Otherwise, no IPSec connection will be established.
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:
  • First port: Specify the Port 500.
  • Last port: Specify the Port 500.
  • Intranet address: Specify the IP address of the Unified Firewall in the transfer network between the Unified Firewall and the LANCOM router.
  • Protocol: From the drop-down menu, select UDP.



3.3) Create a further entry and specify the UDP port 4500.



3.4) Write the configuration back to the router.

Catchwords: rohde; schwarz; avc; ikev2; unified firewall ; advanced vpn client
Please review this document! This document was helpful This document was not helpful