Add a site-to-site IPSec VPN connection

Note: Some knowledge of IPSec VPN tunnels can make it easier for you to set up a functioning VPN connection.

When you add an IPSec VPN tunnel connection, you must do the following, as described in the procedure that follows this list:

  • Select an IPSec VPN profile that is predefined (see Predefined IPSec VPN profiles for site-to-site VPN connections) or that you already set up (Add a custom IPSec VPN profile).
  • Set the WAN IP address or fully qualified domain name (FQDN) of the remote VPN router.
  • Define the password (pre-shared key) that must be used for IKE authentication between the VPN routers.
  • Set the local LAN addresses that are used for the VPN tunnel on the security gateway.
  • Set the remote LAN addresses that are used for the VPN tunnel on the remote VPN router.
  • Specify dead peer detection (DPD) options between the VPN routers.

The device UI uses the following icons:

Add   Edit   Delete

To add a site-to-site IPSec VPN connection:

  1. Launch a web browser from a computer or mobile device that is connected to the security gateway network.
  2. In the address field of your browser, enter https://www.routerlogin.net.

    The login page displays.

    Your browser might display a security warning. For more information, see Log in to the device UI.
  3. Type one of the following passwords:
    • Type the security gateway user name and password. The user name is admin. The password is the one that you specified when you set up the security gateway. The user name and password are case-sensitive.

    For more information about the credentials, see Credentials for the device UI.

    The Dashboard displays.

  4. Select VPN > IPSec VPN > Site-to-Site.
    The Site-to-Site page displays.
  5. Click the Add icon.
    The Add/Edit a New Connection pop-up window displays.
  6. To enable the VPN tunnel after you click the Apply button, keep the Enable Connection toggle blue and positioned to the right (the default setting).
    This means that the security gateway tries to establish a VPN tunnel with the remote VPN router immediately after you click the Apply button. If you do not want this to happen, click the Enable Connection toggle so that it is gray and positioned to the left.
  7. In the Connection Name field, type a name.
    The name is for identification purposes.
  8. From the IPSec Profile menu, select an existing profile.
  9. In the Remote Endpoint field, type either the WAN IP address or the domain name of the remote VPN router.
  10. In the Pre-Shared Key field, type the password (pre-shared key) that must be used for IKE authentication between the security gateway and the remote VPN router.
    The same password must be used on the remote VPN router.

    To display the password on the page, click the eye icon.

  11. In the Local Networks section, click the Add icon to create a local network.
    The Add/Edit Local Network page displays.
    1. In the Add/Edit Local Network page, from the menu, select a VLAN or Custom.
    2. In the IP Address field, type an IP address.
    3. In the Subnet Mask field, type a subnet mask.
    4. Click the Add button.

      Your settings are saved and the local network is created.

    To change the local network, click the Edit icon and change the IP address or subnet mask.

    To delete the local network, select the associated check box , and click the Delete icon.

  12. In the Remote Networks section, click the Add icon to create a remote network.

    The Add/Edit Remote Network page displays.

    1. In the Add/Edit Remote Network page, in the IP Address field, type an IP address.
    2. In the Subnet Mask field, type a subnet mask.
    3. Click the Add button.

      Your settings are saved and the remote network is created.

    To change the remote network, click the Edit icon and change the IP address or subnet mask.

    To delete the remote network, select the associated check box , and click the Delete icon.

  13. In the Local Identifier section, specify one of the following settings:
    • IP Address: The IPv4 that you want to use for the security gateway.
    • Local WAN IP: The WAN IP address of the security gateway. When you select this option, the Local Identifier field automatically displays the WAN IP address of the security gateway.
    • Local FQDN: The domain name for the security gateway.

    These settings specify the LAN IP addresses that the VPN tunnel can access on the security gateway.

  14. In the Remote Identifier section, specify one of the following settings:
    • Remote WAN IP: The WAN IP address of the remote VPN router.
    • Remote FQDN: The domain name for the remote VPN router.

    These settings specify the LAN IP addresses that the VPN tunnel can access on the remote VPN router.

    CAUTION: The remote LAN IP addresses and the local LAN IP addresses cannot be in the same subnets. For example, if the local subnet that you specified in the previous step is 192.168.1.x, the remote subnet that you specify in this step can be 192.168.2.x. but cannot be 192.168.1.x.
  15. Click the Apply button.
    Your settings are saved. The VPN connection is added to the table on the Site-to-Site page.

    If you enabled the new connection (see 4), the security gateway immediately attempts to establish the VPN tunnel with the remote VPN router. If you did not enable the new connection, you can do so later (see Connect or disconnect a site-to-site VPN tunnel).