- 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.
-
Go to VPN and Remote Access >> Remote Access Control page, disable all VPN services.
- Go to NAT >> Open Ports page and select available index to edit as follows:
- Enable Open Ports.
- Give a name in the Comment.
- Enter VPN server router WAN IP: 192.168.1.10 as the Private IP.
- Edit the port for the VPN service.
-
Click OK to save the profile.
- Go to Routing >> Static Route page and select available index to edit as follows:
- Enable the profile.
- 192.168.2.0 as the Destination IP Address.
- 255.255.255.0/24 as the Subnet Mask.
- Enter VPN server router WAN IP: 192.168.1.10 as the Gateway IP Address
- Choose the Network Interface.
-
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.
- Navigate to VPN / Site-to-Site VPN page, click Add and create a VPN profile as follows:
- Give a Profile Name.
- Enable the profile.
- Select Dial-in as the Direction.
- Choose the VPN Type, here we take IPsec for example.
- For Local Network and Subnet Mask, input the IP subnet used on the local router.
- For Remote Network IP and Subnet Mask, input the IP subnet used by the remote VPN client router.
-
Click Apply to save the profile.
- Navigate to Configuration / Routing / Route Policy page, click Add and create a policy profile as follows:
- Give a Policy Name.
- Enable the profile.
- Choose IPv4 Subnet for Source and input the IP Address and Subnet mask used on the local router.
-
Choose IPv4 Subnet for Destination and input the IP Adress and Subnet Mask used by the remote VPN client router.
- Choose VPN for Primary Path.
- Click +Add and select the VPN Profile we just created in step 1
-
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.
- Go to VPN and Remote Access >> LAN to LAN page, click an available index to add a new profile as follows:
- Enable the profile.
- Choose "Dial-Out" for Call Direction.
- Enter the WAN IP or Domain name of the Internet Gateway.
- Enter Pre-Shared Key.
- Enter the IP Address and Mask used by VPN server router as the remote Network IP and Mask.
-
Click OK to save the profile.
