DrayTek Logo
Login
DrayTek Logo
  • Products
    • Routers
      • Business Routers
      • 5G/4G LTE Routers
      • WiFi Routers
      • Gaming Routers
      • G.fast / VDSL / ADSL WiFi Routers
      • Broadband Routers
      • Mobile Broadband 5G/4G Routers
      • Fibre Routers
      • Load Balancing Routers
      • Firewalls
      • Network Firewalls
      • VPN Firewalls
    • Access Points
      • WiFi Access Points
      • Managed Wireless Access Points
      • Outdoor Access Points
      • Access Point Management
      • Mesh WiFi Access Points
      • Mesh compatibility
    • Switches
      • Network Switches
      • Ethernet Switches
      • Gigabit Switches
      • PoE Switches
      • Switch Management
    • Modems
      • ADSL / VDSL / G.fast Modem Routers
      • G.fast / ADSL / VDSL Modem
      • Wireless Modems
    • Accessories
      • Wireless LAN Aerials
      • USB Thermometer
      • VigorCare Enhanced Warranty
      • SFP Direct Attach Cable
      • 4G LTE Extension Cable
      • Outdoor 4G Antenna
      • High Power PoE Injector
      • Rack Mount Kit
      • Power Supply Unit (PSU)
    • Software and Tools
      • DrayTek Router App
      • Wireless App
      • VigorSMS
      • Device Finder
      • Firmware Upgrade Utility
      • SmartVPN Client
      • Syslog Utility
    • Network Management
      • On Premise Management
      • VigorACS 3 – Network Management System
      • SD-WAN Network Control
    • Compare our Products
      • Firewalls/Routers
      • Switches
      • Wireless Access Points
      • VigorACS
  • Services
    • Wireless Survey Services
    • Web Content Filtering
    • Threat Protection
    • VigorACS 3
    • VigorConnect
    • DCNA Training
  • Knowledgebase
    • Solutions
      • Broadband Failover
      • 3G/4G/5G LTE Solutions
      • Load Balancing
      • High Availability
      • Web Content Filtering
      • Quality of Service (QoS)
      • WPA3 Wireless Security
      • Wi-Fi 6
      • Virtual Private Networking
      • Central Management
      • Managed Wireless
      • Mesh Wireless
      • Credit Card Security
      • VPN Solutions
      • By Industry
      • Hospitality, Retail & Leisure
      • Financial sector
      • Corporate solutions
      • Public Sector
    • Features
      • Routers
      • Wireless Access Points
      • Switches
      • Modems
      • Management
    • Videos
      • The Growing Risk Beyond the Endpoint
      • New 4G/5G Routers for Every Stage of the Connectivity Journey
      • Firmware Upgrade via Provisioning
      • Introducing DrayTek's New Wi‑Fi 7 & Multi‑Gig Solutions
      • DrayOS 5: Secure and Manage Networks with Ease
      • The Complete Wi‑Fi 7 Network for High‑Density Businesses
      • Securing the Modern LAN with DrayTek Threat Protection
      • New Solutions: Vigor 2928 and 2767ax-4G
    • Case Studies
    • Blog Articles
    • Downloads
    • Web Interface Demo
  • Support
    • Support Articles
    • Downloads and Resources
    • Contact Support
    • Product Lifecycle
    • Essentials Training
    • DrayTek Community Forum
  • News
    • DrayTek Vigor 2767ax Named PC Pro Business Hardware of the Year 2026
    • DrayTek Expands Its Business Networking Portfolio with Wi‑Fi 7
    • PC Pro Router Manufacturer of the year 2025
    • VigorAP 905: The Affordable Wi-Fi 6 Access Point Upgrade You've Been Waiting For
    • Meet DrayTek at Channel Live 2025 - Don't Miss Out!
    • DrayTek Wins Specialist Vendor of the Year at the CRN Awards 2024!
    • More News
  • Where to buy
  • Contact
    • About DrayTek
    • Become a Partner
    • Contact Us
    • Careers
  • Log In
  • Partner Portal
    • Log in as a Partner
    • Partner Programme
    • NFR Programme
  • Products
    • Routers
      • Business Routers
      • 5G/4G LTE Routers
      • WiFi Routers
      • Gaming Routers
      • G.fast / VDSL / ADSL WiFi Routers
      • Broadband Routers
      • Mobile Broadband 5G/4G Routers
      • Fibre Routers
      • Load Balancing Routers
      • Firewalls
      • Network Firewalls
      • VPN Firewalls
    • Access Points
      • WiFi Access Points
      • Managed Wireless Access Points
      • Outdoor Access Points
      • Access Point Management
      • Mesh WiFi Access Points
      • Mesh compatibility
    • Switches
      • Network Switches
      • Ethernet Switches
      • Gigabit Switches
      • PoE Switches
      • Switch Management
    • Modems
      • ADSL / VDSL / G.fast Modem Routers
      • G.fast / ADSL / VDSL Modem
      • Wireless Modems
    • Accessories
      • Wireless LAN Aerials
      • USB Thermometer
      • VigorCare Enhanced Warranty
      • SFP Direct Attach Cable
      • 4G LTE Extension Cable
      • Outdoor 4G Antenna
      • High Power PoE Injector
      • Rack Mount Kit
      • Power Supply Unit (PSU)
    • Software and Tools
      • DrayTek Router App
      • Wireless App
      • VigorSMS
      • Device Finder
      • Firmware Upgrade Utility
      • SmartVPN Client
      • Syslog Utility
    • Network Management
      • On Premise Management
      • VigorACS 3 – Network Management System
      • SD-WAN Network Control
    • Compare our Products
      • Firewalls/Routers
      • Switches
      • Wireless Access Points
      • VigorACS
  • Services
    • Wireless Survey Services
    • Web Content Filtering
    • Threat Protection
    • VigorACS 3
    • VigorConnect
    • DCNA Training
  • Knowledgebase
    • Solutions
      • Broadband Failover
      • 3G/4G/5G LTE Solutions
      • Load Balancing
      • High Availability
      • Web Content Filtering
      • Quality of Service (QoS)
      • WPA3 Wireless Security
      • Wi-Fi 6
      • Virtual Private Networking
      • Central Management
      • Managed Wireless
      • Mesh Wireless
      • Credit Card Security
      • VPN Solutions
      • By Industry
      • Hospitality, Retail & Leisure
      • Financial sector
      • Corporate solutions
      • Public Sector
    • Features
      • Routers
      • Wireless Access Points
      • Switches
      • Modems
      • Management
    • Videos
      • The Growing Risk Beyond the Endpoint
      • New 4G/5G Routers for Every Stage of the Connectivity Journey
      • Firmware Upgrade via Provisioning
      • Introducing DrayTek's New Wi‑Fi 7 & Multi‑Gig Solutions
      • DrayOS 5: Secure and Manage Networks with Ease
      • The Complete Wi‑Fi 7 Network for High‑Density Businesses
      • Securing the Modern LAN with DrayTek Threat Protection
      • New Solutions: Vigor 2928 and 2767ax-4G
    • Case Studies
    • Blog Articles
    • Downloads
    • Web Interface Demo
  • Support
    • Support Articles
    • Downloads and Resources
    • Contact Support
    • Product Lifecycle
    • Essentials Training
    • DrayTek Community Forum
  • News
    • DrayTek Vigor 2767ax Named PC Pro Business Hardware of the Year 2026
    • DrayTek Expands Its Business Networking Portfolio with Wi‑Fi 7
    • PC Pro Router Manufacturer of the year 2025
    • VigorAP 905: The Affordable Wi-Fi 6 Access Point Upgrade You've Been Waiting For
    • Meet DrayTek at Channel Live 2025 - Don't Miss Out!
    • DrayTek Wins Specialist Vendor of the Year at the CRN Awards 2024!
    • More News
  • Where to buy
  • Contact
    • About DrayTek
    • Become a Partner
    • Contact Us
    • Careers
  • Log In
  • Partner Portal
    • Log in as a Partner
    • Partner Programme
    • NFR Programme
Search

Authenticate SSL VPN Client by Windows 2008 R2 RADIUS Server

  • DrayOS 4, imported, vigor_router, ssl_vpn, radius_auth, windows_server, nps
  • DrayOS 4, Remote Access, imported, Vigor Router, SSL VPN, Wireshark, RADIUS Authentication

This document demonstrates how to configure Vigor Router to use a Windows 2008 R2 Server as RADIUS server and authenticate SSL VPN clients.

Vigor Router Setup

1. To allow Vigor Router to authenticate remote VPN clients with an external RADIUS server, we need to identify the RADIUS server. Go to Applications >> RADIUS/TACACS+:

  1. Check Enable
  2. Enter the IP address of the Windows Server in Server IP Address.
  3. Enter the Shared Secret and confirm. Note that we need to use the same Shared Secret value in Radius configuration on Windows 2008 R2 server.
  4. Click OK to save the settings.
  5. Note: Vigor Router uses UTF-8 encoding, while Windows RADIUS server uses big5. Please prevent any special characters in Shared Secret with Windows RADIUS server.

a screenshot of DrayOS RADIUS settings

2. Create an SSL User Group which allows authentication by RADIUS server: Go to SSL VPN >> User Group, click on an index number to edit the profile:

  1. Check Enable
  2. Enter Group Name
  3. Check "RADIUS" for Authentication Method.
  4. Click OK to save the settings. 
a screenshot of DrayOS SSL User Group

Windows 2008 R2 Server Setup

1. Log in to the Windows 2008 R2 server and go to Server Manager. Create a user account and password by clicking Local Users and Groups >> Users.

a screenshot of Windows 2008 R2

2. Add Vigor Router to RADIUS Client: Go to Network Policy Server >> RADIUS Client and Servers, right-click RADIUS Clients, and then click New RADIUS Client:

  1. Check Enable this RADIUS Client
  2. Enter Friendly name
  3. For Address, enter the IP Address of Vigor Roter.
  4. Enter Shared Secret as the same in Vigor Router's RADIUS Setup.
  5. Click OK to save
a screenshot of Windows 2008 R2

3. Configure Connection Request Policies. If you have default policy "Use Windows authentication for all users" configured under connection request policies, then you can skip this step. Else it is required to set a connection request policy. Go to Network Policy Server >> Policies, right-click Connection Request Policies, and then click New Connection Request Policies:

  1. Enter a Policy name in the Overview tab.
  2. a screenshot of Windows 2008 R2
  3. Select the Day and Time restrictions under the Conditions tab.
  4. a screenshot of Windows 2008 R2

4. Configure Network Policies: Go to Network Policy Server >> Policies, right-click Network Policies and then click New Network Policies.

  1. In the Overview tab, enter policy name and other details.
  2. a screenshot of Windows 2008 R2
  3. In the Conditions tab, select the user groups to whom you would like to give access for SSL VPN.
  4. a screenshot of Windows 2008 R2
  5. In the Constraints tab. Set Authentication Methods as Unencrypted authentication. 
  6. a screenshot of Windows 2008 R2

Establishing the SSL VPN Connection

For SSL VPN Client, open web browser and enter https://<public IP>:<port number for SSL VPN> in address tab. For example, http://111.111.111.111:443. And you can log in to SSL VPN with the user profile in Windows 2008 R2 server.

a screenshot of Vigor2925 SSL login page

We can check the Success Logs on Windows server from Event Viewer.

a screenshot of Windows 2008 R2

From the logs captured by Wireshark, we will see packets like this between Vigor Router and the Windows Server.

a screenshot of wireshark logs
Details
Published: 05/06/2026
Last Updated: 06/11/2026

Dead Peer Detection (DPD) for IPsec

  • ipsec, DrayOS 4, imported, vpn_tunnel, vigor3900, vigor2960, dead_peer_detection, peer_detection
  • DrayOS 4, IPsec, imported

Dead Peer Detection (DPD) is the method to detect the aliveness of an IPsec connection. During IPsec tunnel creation, VPN peers will negotiate to decide whether to use DPD or not. When DPD is in use, the router will send DPD packet R_U_THERE to the VPN peer and wait for peer's ACK. If there is no feedback from the peer, it will disconnect the IPsec tunnel.

All Vigor VPN Routers support IPsec DPD feature. For DrayOS models, DPD is enabled by default and cannot be turned off. When detecting no traffic over the IPsec tunnel, the router will send DPD packets every 15 seconds. If the peer doesn't respond for two times, the router will then disconnect the IPsec tunnel.

Model Vigor2960 and Vigor3900 support changing the Delay and Timeout Settings in the Advanced tab of IPsec profiles.

a screenshot of Vigor3900's IPsec profile
Details
Published: 05/06/2026
Last Updated: 06/11/2026

VPN Pass-Through Setup

  • pptp, ipsec, nat, DrayOS 4, imported, remote_access_control, open_ports, vpn_pass_through, l2tp, firewall_general_setup
  • NAT, DrayOS 4, IPsec, imported, Remote Access Control, PPTP, Open Ports

Vigor Router supports VPN pass-through to pass VPN traffic router's LAN. This article shows how to set up VPN pass-through on Vigor Router.

To do this, you will need:

1. Disable the VPN service on the router: Go to VPN and Remote Access >> Remote Access Control Setup, un-check the VPN protocol that you want to forward to the router's LAN.

a screenshot of DrayOS Remote Access Control Setup

2. Go to NAT >> Open Ports, and open the required port to the IP address of the VPN server. The ports required for each protocol are:

  • PPTP: TCP 1723 (the router will also forward GRE IP47 automatically)
  • L2TP: UDP 1701
  • IPsec: UDP 500 and UDP 4500 if NAT-T is used (the router will also forward ESP IP50 automatically)
a screenshot of DrayOS Open Port settings

3. For IPsec that uses PKI authentication, it is necessary that “Accept large incoming fragmented UDP or ICMP packets” is enabled at Firewall >> General Setup.

a screenshot of DrayOS Firewall General setup
Limitations of IPsec VPN

Noted that there are some limitations of IPsec VPN pass-through due to the incompatibilities between IPsec and NAT:

  1. IPsec with Authentication Header (AH) cannot pass through NAT because AH does not allow changing the IP header
  2. To pass through multiple outgoing IPsec tunnels, it requires that both the VPN client and server support NAT-Traversal (NAT-T). Without NAT-T, it only allows one outgoing IPsec VPN at the same time.
  3. L2TP with IPsec policy is in transport mode, which can only pass through NAT if both VPN client and server support NAT-T (Note: All Vigor Router support NAT-T).
Details
Published: 05/06/2026
Last Updated: 06/11/2026

IPsec VPN with X.509 Authentication from Windows to Vigor3900/2960 by Smart VPN Client

  • windows, DrayOS 4, imported, ipsec_vpn, smart_vpn_client, remote_dial_in, certificate_auth, vigor3900, vigor2960, x509_auth
  • DrayOS 4, imported, IPsec VPN, Smart VPN Client, Windows, X.509 Certificate, Remote Dial-In

Vigor3900 can act as a CA server, and we can use the feature to generate and sign an X.509 certificate for a PC to create an IPsec tunnel with it. The examples below will show how to achieve the purpose with three parts.

  • Part A: Certificate Generation and Import
  • Part B: Create IPsec VPN Profile on Vigor3900 for PC to Dial-In
  • Part C: Use Smart VPN Client to Dial IPsec VPN to Vigor3900

Part A: Certificate Generation and Import

1. On the Online Status page, check if the current System Time of Vigor3900 is equal to the Time of PC.

a screenshot of Vigor3900 Device Information

2. Open Certificate Management >> Trusted CA Certificate, click Build RootCA.

a screenshot of Vigor3900 Trusted CA

3. We will see Add Success Message and then can see the RootCA certificate listing on the Trusted CA page.

a screenshot of Vigor3900 Trusted CA list

4. Open Certificate Management >> Local Certificate page, click Generate to create a local certificate.

a screenshot of Vigor3900 Local Certificate settings

5. We will see Add Success Message and then can see the local certificate listing on the Local Certificate page.

a screenshot of Vigor3900 Local Certificate List

6. Open Certificate Management >> Local Certificate page, click Generate to create a certificate for the PC.

a screenshot of Vigor3900 Local Certificate

7. Select the certificate for PC and then click Download.

a screenshot of Vigor3900 Local Certificate List

8. Select PKCS12 Certificate as the format, input the PKCS12 Password, and then click Download. The certificate will be saved to the PC with the filename pc.p12.

a screenshot of Vigor3900 Local Certificate Export

9. Delete the certificate for PC on the Local Certificate page.

a screenshot of Vigor3900 removing Local Certificate

10. Upload the downloaded PKCS12 Certificate pc.p12 to Vigor3900 via Certificate Management>> Remote Certificate page.

a screenshot of importing local certificate to Vigor3900

11. Make sure the certificate status is OK

a screenshot of Vigor3900 Remote Certificate

12. Open Certificate Management >> Trusted CA Certificate to download the Trusted CA Certificate with format PKCS12 from Vigor3900 to PC. The Trusted CA certificate file will be saved with the filename RootCA.p12.

a screenshot of downloading Trusted CA from Vigor3900

13. Run mmc on Windows PC to open the computer management console. Select Certificates then click Add.

  1. Certificates snap-in wizard will pop up, select Computer account, then click Next.
  2. a screenshot of Windows Certificates Snap-in
  3. Select Local computer and click Finish.
  4. a screenshot of Windows Certificates snap-in
  5. Certificate components have been added successfully.
  6. a screenshot of Windows Certificate Snap-in

14. Import certificate pc.p12 as Personal Certificate.

  1. In Personal, right-click on Certificates and then click ALL Tasks >> Import...
  2. a screenshot of Windows Console
  3. When Certificate Import Wizard starts, click Browse to select the certificate for PC which we downloaded from Vigor3900, then click Next.
  4. a screenshot of Windows Certificate Import Wizard
  5. Type the password for the private key, and then click Next.
  6. a screenshot of Windows Certiificate Import Wizard
  7. Select Place all certificates in the following store “Personal”, then click Next.
  8. a screenshot of Windows Certificate Import Wizard
  9. Click Finish to complete the Certificate Import Wizard.
  10. a screenshot of Windows Certificate Import Wizard
  11. We can see the certificate pc in Personal Certificates.
  12. a screenshot of Windows Console

15. Import certificate RootCA.p12 as the Trusted Certificate.

  1. In Trusted Root Certification Authorities, right-click on Certificates and then click ALL Tasks >> Import.…
  2. a screenshot of Windows Console
  3. When Certificate Import Wizard starts, click Browse to select the RootCA certificate which we downloaded from Vigor3900, then click Next.
  4. a screenshot of Certificate Import Wizard
  5. Type the password for the private key, and then click Next.
  6. a screenshot of Windows Certificate Import Wizard
  7. Select Place all certificates in the following store “Trusted Root Certification Authorities”, then click Next.
  8. a screeenshot of Windows Certificate Import Wizard
  9. Click Finish to complete the Certificate Import Wizard.
  10. a screenshot of Windows Certificate Import Wizard
  11. We can see the certificate 3900vivian in Trusted Root Certification Authorities.
  12.  acreenshot of Windows Console Trusted Toor CA List

Part B: Create IPsec VPN Profile on Vigor3900 for PC to Dial-In

Open VPN and Remote Access >> VPN Profiles, select IPsec and then click Add to create a new VPN profile.

  1. Select "Enable" for Remote Dial-In User.
  2. Input Vigor3900's local IP /Subnet Mask
  3. Specify Remote Host IP. If the remote host has a dynamic IP, please use 0.0.0.0.
  4. a screenshot of Vigor3900 IPsec profile
  5. Select “RSA” for Auth Type.
  6. Leave Local Certificate and Local ID fields as default. (This could be ignored for IPsec Remote Dial-In)
  7. In the Remote ID field, there are five types:
    • Accept Any means accept connections as long as they have the same certificate issuer.
    • Subject AlterName: IP means accept connections with the same IP as Subject AlterName. (The remote certificate must be generated with IP ID Type)
    • Subject AlterName: Domain Name means accept connections with the same Domain Name as Subject AlterName. (The remote certificate must be generated with Domain Name ID Type)
    • Subject AlterName: Email means accept connections with the same Email. (The remote certificate must be generated with ID Type Email)
    • Certificate means accept connections with the same certificate (selected in the Remote Certificate field).
  8. a screenshot of Vigor3900 Local Certificate
  9. In Remote Certificate, select the certificate “pc”.
  10. Apply the settings. 
  11. a screenshot of Vigor3900 IPsec profile

Part C: Use Smart VPN Client to Dial IPsec VPN to Vigor3900

1. Run Smart VPN Client and Insert a VPN profile.

a screenshot of Smart VPN Client

2. In Dial to VPN window:

  1. Input Profile Name
  2. Select “IPsec Tunnel” for Type of VPN
  3. Enter Vigor3900's IP or hostname in VPN Server IP or Host Name
  4. Click OK.
a screenshot of Smart VPN Client VPN profile

3. In IPsec Policy Setting window,

  1. Select “Standard IPsec Tunnel” for Type of IPsec, and then input Remote Subnet and Remote Subnet Mask (which is the local network IP of Vigor3900)
  2. For Key-exchange Method, select “DH Group 2”
  3. Select Security Method as “ESP” and “3DES with MD5”
  4. For the Authentication Method, select “Certificate Authentication” and then click Browse to choose a certificate.
  5. Select the trusted CA we imported and click OK.
  6. Click OK to save the settings
a screenshot of Smart VPN Client IPsec profie

4. Click Activate. Dial to VPN window will pop up, and then click OK.

a screenshot of Smart VPN Client Dial IPsec VPN

5. Ping Vigor3900's LAN IP on the PC to trigger the IPsec tunnel. When seeing replies from the IP, it means the IPsec tunnel is up.

a screenshot of Windows command promtp executing ping

6. We may also see the IPsec connection status on Vigor3900 from the VPN and Remote Access >> Connection Management page.

a screenshot of Vigor3900 VPN Connetion Management page
Details
Published: 05/06/2026
Last Updated: 06/11/2026

GRE Tunnel between Cisco and DrayTek Router

  • routing, DrayOS 4, imported, gre_tunnel, cisco_interop, lan_to_lan_vpn, tunnel_setup
  • routing, DrayOS 4, imported, GRE Tunnel, LAN to LAN VPN, DrayTek Vigor Router

This document introduces how to set up a GRE tunnel between a Cisco and a Vigor Router, and configure the GRE Tunnel IP address on both sides. GRE tunnel is supported on DrayOS with firmware version 3.8.2 or later.

Cisco Router Setup

1. Create a GRE Tunnel Interface on Cisco:

  • Configure an IP address for GRE Tunnel interface
  • Reduce the MTU to 1400 bytes the avoid fragmentation problem.
  • For Tunnel Source, enter Cisco's WAN interface IP
  • For Tunnel Destination, enter Vigor Router's WAN IP

2. Add a route to Vigor Router's network to be sent to the GRE Tunnel Interface

Vigor Router Setup

Before setting up the tunnel, please make sure PPTP service is enabled in VPN and Remote Access >> Remote Access Control.

3. On Vigor Router, go to VPN and Remote Access >> LAN to LAN to create a profile as follows:

  • Enter Profile Name
  • Check Enable this profile
  • Enable GRE Tunnel Mode 

4. In GRE Settings:

  • Enter Peer GRE IP as the IP address of Cisco's CRE Tunnel Interface.
  • Enter My GRE IP as an IP address in the same subnet of Peer GRE IP.

5. In TCP/IP Network Settings:

  • Enter My WAN IP as Vigor Router's WAN IP.
  • Enter Remote Gateway IP as Cisco's WAN IP.
  • Enter Remote Network IP /Mask as the Cisco's network.
  • Enter Local Network IP /Mask as the Vigor Router's LAN network.
       
Checking Connectivity

After the tunnel is up, from a computer on the Vigor Router's LAN, we will be able to ping the 192.168.11.0/24 network.

The GRE interface's IP address is also reachable.

In fact, by “tracert” command, we will see the packets are sent to the GRE interface's IP address first.

Details
Published: 05/06/2026
Last Updated: 06/11/2026
  1. IPsec VPN between Cisco ASA and Vigor3900/2960
  2. Use the DHCP server on Vigor3900/2960's LAN for VPN dial-in clients
  3. L2TP over IPsec from Windows 7 to Vigor Router
  4. Use Phone Book to make VoIP calls over VPN

Page 1 of 18

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

One moment please...

Email sent successfully!

Share this link




Email It
  1. Home
  2. Support
  3. Support Articles
  4. Routers
  5. VPN

Address

15 Worship Street
London
EC2A 2DT
info@draytek.co.uk
Call: 0345 557 0007

DrayTek

  • News
  • About us
  • Terms of Service

Useful Links

  • Downloads
  • Become a Dealer
  • Knowledgebase

Follow us

DrayTek
Subscribe now

Copyright © 2026 DrayTek