Manual Key VPN Configuration Example

This section describes an example of IKE VPN configuration.

Target: Establishing a tunnel between Device A and B. PC1 is a host behind Device A, with the IP address 188.1.1.2 and gateway 188.1.1.1; Server1 is the server behind Device B, with IP address 10.110.8.210 and gateway 10.110.88.220. The goal of this configuration example is to protect the communication between the subnet of PC1 (188.1.1.0/24) and the subnet of Server1 (10.110.88.0/24), using the method of route-based VPN. Use ESP as the security protocol, 3DES as the encryption algorithm, SHA1 as the hash algorithm and DEFLATE as the compression algorithm.

The topology is shown below:

To establish the VPN tunnel, take the steps below:

Step 1: Configure interfaces

Device A

  1. On the Navigation pane, click Configure > Network > Network to visit the Network page.
  2. Select ethernet0/0 from the interface list, and then click Edit. In the Interface Configuration dialog, modify according to your need:
  3. Click OK to save the settings and return to the Network page.
  4. Select ethernet0/1 from the interface list, and then click Edit. In the Interface Configuration dialog, modify according to your need:
  5. Click OK to save the settings and return to the Network page.

Device B

  1. On the Navigation pane, click Configure > Network > Network to visit the Network page.
  2. Select ethernet0/0 from the interface list, and then click Edit. In the Interface Configuration dialog, modify according to your need:
  3. Click OK to save the settings and return to the Network page.
  4. Select ethernet0/1 from the interface list, and then click Edit. In the Interface Configuration dialog, modify according to your need:
  5. Click OK to save the settings and return to the Network page.

Step 2: Configure a tunnel name VPN1

Device A

  1. On the Navigation pane, click Configure > Network > IPSec VPN to visit the IPSec VPN page to visit the IPSec VPN page.
  2. Click New on the upper-left of Manual Key VPN List. In the Manual Key VPN Configuration dialog, configure the options as below.
  3. Click OK to save the settings.

Device B

  1. On the Navigation pane, click Configure > Network > IPSec VPN to visit the IPSec VPN page to visit the IPSec VPN page.
  2. Click New on the upper-left of Manual Key VPN List. In the Manual Key VPN Configuration dialog, configure the options as below:
  3. Click OK to save the settings.

Step 3: Configure routes

Device A

  1. On the Navigation pane, click Configure > Network > Routing to visit the Routing page.
  2. On the Destination Route tab, click New. In the Destination Route Configuration dialog, configure the options as below:
  3. Click OK to save the settings.

Device B

  1. On the Navigation pane, click Configure > Network > Routing to visit the Routing page.
  2. On the Destination Route tab, click New. In the Destination Route Configuration dialog, configure the options as below:
  3. Click OK to save the settings.

Step 4: Configure policy rules

Device A

  1. On the Navigation pane, click Configure > Security > Policy to visit the Policy page.
  2. Click New. In the Policy Configuration dialog, configure the options as below:
  3. Click OK to save the settings.

Device B

  1. On the Navigation pane, click Configure > Security > Policy to visit the Policy page.
  2. Click New. In the Policy Configuration dialog, configure the options as below:
  3. Click OK to save the settings.
  4. Click New again. In the Policy Configuration dialog, configure the options as below:
  5. Click OK to save the settings.

When the settings above are completed, the security tunnel between Device A and Device B has been successfully established. Then, the data transmission between the subnet (188.1.1.0/24) and subnet (10.110.88.0/24) is encrypted.