• ipsec, DrayOS 5, imported, single_arm_vpn, static_route, vpn_configuration, openvpn, drayos_5, wireguard, nat_port_forwarding

Single-Arm VPN Configuration (DrayOS5)

The latest DrayOS 5 routers can also support Single-Arm VPN since 5.3.1 version and above for the following protocols:
- IPsec (UDP 500, 4500)
- OpenVPN (TCP/UDP 1194)
- WireGuard (UDP 51820)

Internet Gateway Configuration

To make the Single-Arm VPN work, we must make the VPN traffic pass through the Internet Gateway and forward to the VPN server. Here we take a Vigor2927 for example.

  1. Go to VPN and Remote Access >> Remote Access Control page, disable all VPN services.
  2. Go to NAT >> Open Ports page and select available index to edit as follows:
    1. Enable Open Ports.
    2. Give a name in the Comment.
    3. Enter VPN server router WAN IP: 192.168.1.10 as the Private IP.
    4. Edit the port for the VPN service.
    5. Click OK to save the profile.
  3. Go to Routing >> Static Route page and select available index to edit as follows:
    1. Enable the profile.
    2. 192.168.2.0 as the Destination IP Address.
    3. 255.255.255.0/24 as the Subnet Mask.
    4. Enter VPN server router WAN IP: 192.168.1.10 as the Gateway IP Address
    5. Choose the Network Interface.
    6. Click OK to save the profile.

Vigor Router Configuration (The Router on LAN A)

Here we take a Vigor2136 as the example for VPN server router.

  1. Navigate to VPN / Site-to-Site VPN page, click Add and create a VPN profile as follows:
    1. Give a Profile Name.
    2. Enable the profile.
    3. Select Dial-in as the Direction.
    4. Choose the VPN Type, here we take IPsec for example.

    5. For Local Network and Subnet Mask, input the IP subnet used on the local router.
    6. For Remote Network IP and Subnet Mask, input the IP subnet used by the remote VPN client router.
    7. Click Apply to save the profile.
  2. Navigate to Configuration / Routing / Route Policy page, click Add and create a policy profile as follows:
    1. Give a Policy Name.
    2. Enable the profile.
    3. Choose IPv4 Subnet for Source and input the IP Address and Subnet mask used on the local router.
    4. Choose IPv4 Subnet for Destination and input the IP Adress and Subnet Mask used by the remote VPN client router.
    5. Choose VPN for Primary Path.
    6. Click +Add and select the VPN Profile we just created in step 1
    7. Click Apply to save the profile.

Remote Router Configuration (The Router on LAN B)

Here we take a Vigor2962 as the example for VPN client router.

  1. Go to VPN and Remote Access >> LAN to LAN page, click an available index to add a new profile as follows:
    1. Enable the profile.
    2. Choose "Dial-Out" for Call Direction.
    3. Enter the WAN IP or Domain name of the Internet Gateway.
    4. Enter Pre-Shared Key.
    5. Enter the IP Address and Mask used by VPN server router as the remote Network IP and Mask.
    6. Click OK to save the profile.