- ipsec, DrayOS 4, imported, route_policy, ikev2, eap, vpn_tunnel, nordvpn, fragmented_packets
IKEv2 EAP between NordVPN and Vigor Router (DrayOS4)
1. You will need a NordVPN account and download the NordVPN root CA certificate from https://downloads.nordvpn.com/certificates/root.der
And copy Service Credentials in NordVPN.
2. Get the NordVPN server domain from https://nordvpn.com/servers/
You may get a recommended server by selecting the country you located. In the following picture, de241.nordvpn.com is the hostname of the VPN server.
3. Log into the router's management page. Go to Certificate Management >> Trusted CA Certificate page, and click IMPORT. Click Choose File to select the root.der file we downloaded in step 1. Then, click Import.
4. Wait for few seconds until the router responds “Import Success” and the Certificate Status shows OK
5. Go to VPN and Remote Access >> IPsec Peer Identity, edit a profile to for NordVPN server.
- Check Enable this account
- Select Accept Any Peer ID
6. Go to VPN and Remote Access >> LAN to LAN, click on an available index number, and edit the profile as follows. In Common Settings,
- Give it a profile name
- Check Enable this profile
- Set Call Direction to "Dial-Out"
- At Dial-Out Through, select the WAN interface for VPN connection
7. In Dial-Out Settings,
- Select IKEv2 EAP for the VPN server type
- Enter the domain of VPN server we get in step 3 at Server IP address/Hostname
- Enter service credentials as Username and Password
- Choose "Digital Signature" for IKE Authentication Method, and select the IPsec Peer Identity Profile created in step 6 for Peer ID
- Select "AES with Authentication" for IPsec Security Method
- Click Advanced
8. Click Advanced button, In the IKE advanced settings pop-up windows, confgure:
- IKE phase 1 proposal as "AES256_SHA1_G14"
- IKE phase 2 proposal as "AES256_SHA1"
- IKE phase 1 key lifetime as "14400"
- IKE phase 2 key lifetime as "3600"
9. Click OK o close the window. At TCP/IP Network Settings:
- Enter Remote Network IP as "0.0.0.0"
- Select Remote Network Mask to "0.0.0.0/0"
10. After finishing above settings, we can check the VPN status via VPN and Remote Access >> Connection Management page.
11. Go to Routing >> Load-Balance/Route Policy and set up a route policy to send all traffic to NordVPN.
12. We can use the command “tracert” to check if the traffic is going through the VPN tunnel correctly.
Note: In order to accept large packets from NordVPN, Allow pass inbound fragmented large packets (required for certain games and streaming) should be enabled.
