For this example, we’ll use a Vigor2136ax router but the process is the same on all supported DrayOS 5 devices.
Pre-requisites:
For the VPN connection to be established, your router must be reachable directly from the public Internet, but many Internet Service Providers place customer connections behind Network Address Translation (NAT) due to a lack of available IPv4 addresses.
If your router is behind NAT, VPN clients attempting to connect to it will not be able to reach it.
One of the quickest and easiest ways to tell if your router is behind NAT is by its WAN IP address.
If your Internet WAN IP address is within any of the following IP address ranges, it is definitely behind NAT, because these IPv4 address ranges are not routable on the public Internet:
10.0.0.0 to 10.255.255.255
169.254.0.0 to 169.254.255.255
172.16.0.0 to 172.31.255.255
192.168.0.0 to 192.168.255.255
100.64.0.0 to 100.127.255.255
Even if your WAN Internet IP address is not within these ranges, it may still be behind NAT. Contact your ISP to confirm whether or not your Internet connection is behind NAT.
Step 1: Setting System Time
IPsec IKEv2 EAP Authentication requires security certificates, which in turn are time-sensitive, so it’s essential to set the System Time correctly on the router. The best way to keep the time accurate on the system clock is to use a Network Time Protocol (NTP) server on the Internet to automatically update the clock.
Navigate to System Maintenance / Device Settings. On the Time tab, select to Set Time ‘Automatically with Time Server’. You can select your Time Zone manually to ensure accuracy. The default Time Server is time.google.com
Use the ‘Test Time Server Connection’ button to verify that the Time Server is reachable, and then click the Apply button at the bottom of the page:

Step 2: Creating Security Certificates
IPsec IKEv2 EAP Authentication relies on security certificates similar to those used to secure websites on the Internet, so these need to be created.
Navigate to Configuration / Certificates and click onto the Trusted CA tab. Here, there will be a certificate named ‘Root CA’ with Empty status. Click the Create link to generate a new Root CA cert:

This Root CA (Certificate Authority) certificate will be used to cryptographically sign a second certificate, which will be used for securing the VPN connection.
Select the Type for your Root CA certificate. If your Internet connection has a static IP address from your ISP, you can choose ‘IP Address’. If you don’t have a static IP address for the Internet, you will need to set up a Domain Name using Draytek Dynamic DNS service instead.
Fill in the details for your Root CA certificate, and then click the Apply button.
eg. If your Internet connection uses a static IP address:

Using a Domain Name:

Your Root CA certificate should now appear with a ‘Valid’ status. Click the ‘Export’ link to save a copy of this certificate. It will need to be imported later on the computer you connect to the VPN from:

Click onto the Local Certificates tab and click +Add to create the second security certificate:

Give the certificate a name, select ‘Generate CSR’ (Certificate Signing Request) for the Method, and fill out the details, then click the Apply button:

Now the new Certificate Signing Request has been created, click the ‘Sign’ link to cryptographically sign the new certificate with the previously created Root CA certificate:

Select the desired Validity period (default is 180 days) from the drop-down menu, and click ‘Apply’ to sign the certificate:

For security reasons, it is not recommended to select more than 1 Year for the Validity period.
The new certificate should now have a ‘Valid’ status:

Next, this certificate needs to be applied to the IPsec IKEv2 EAP VPN service. To do this, navigate to VPN / General Setup, click onto the EasyVPN tab and ensure that EasyVPN is enabled:

Click onto the IPsec tab, ensure IPsec is Enabled, select the new certificate from the drop-down menu, and click the Apply button at the bottom of the page:

The required security certificates are now set up on the router, but EasyVPN IPsec EAP connections from DrayTek SmartVPN will fail to establish until the Root CA certificate is installed into Windows, so that Windows can verify the cryptographic signature of the second certificate, which has been set on the IPsec VPN.
To install the Root CA certificate into Windows, click the Start Menu and locate the ‘Manage computer certificates’ tool:

Under the Certificates – Local Computer menu, browse into Trusted Root Certification Authorities > Certificates. Right-click on ‘Certificates’ and select All Tasks > Import…

This will launch the Certificate Import Wizard. Click the ‘Next’ button:

Click the ‘Browse’ button to select the Root CA certificate file that was downloaded from the router earlier:

Select the ‘All Files (*.*)’ type from the drop-down menu in the lower right, and then select the ‘Root CA.pem’ file that was downloaded earlier, and click Open:

Click the ‘Next’ button:

Click the ‘Next’ button to place the certificate in the ‘Trusted Root Certification Authorities’ store:

Click ‘Finish’. You should see the following confirmation:

Step 3: Create or Modify the VPN Teleworker User
Now that the EasyVPN IPsec EAP certificates have been set up, users can be added or existing user accounts edited, to allow them to connect using it.
Navigate to IAM / Users & Groups and click either +Add to create a new user, or Edit to modify an existing user. In this example, we will modify an existing user:

Enter a Username, and ensure that the Usage type is set to IAM User. Enter a password, and ensure that the Status is set to Active:

Click onto the Teleworker VPN tab and toggle Enable Teleworker VPN to on. Under ‘Allowed VPN Protocols’, toggle IPsec to on and ensure that the checkbox for EAP is ticked:

The remaining settings for Security and Local IP Assignment can be left at their Default values unless you need to change them. Click the Apply button to save the changes:

Step 4: DrayTek Smart VPN configuration
Now the EasyVPN connection can be added in DrayTek SmartVPN Client. Open the SmartVPN Client, select ‘Profiles’ and either Edit an existing profile or click Add to create a new profile:


Now, the IKEv2 EAP EasyVPN connection can be established:

Updated 24/07/2025 by Shaun