Tutorial: Configure Domain Routing in Access Server⁠

Overview⁠

Domain routing lets you control whether traffic to specific domains is sent through the VPN tunnel instead of routed directly to the internet. This is useful when IP-based routing is unreliable due to dynamic IPs or CDN-backed services.

You can configure domain routing rules:

  • Globally (applies to all users).

  • Per group.

  • Per individual user.

You can use one, some, or all of these levels at the same time, depending on your access requirements.

Domain routing rules support:

  • Exact domains (for example, example.com): Traffic is routed through the VPN only when the destination matches the exact domain. Subdomains (such as app.example.com) aren't included.

  • Wildcard domains (for example, *.example.com): Traffic is routed through the VPN for the specified domain and all of its subdomains.

  • Wildcard TLDs (for example, *.com): Traffic is routed through the VPN for all the domains that use this top-level domain (TLD).

Prerequisites⁠

  • Access Server 3.1.0 or newer.

  • Admin Web UI access.

  • DNS proxy enabled on your Access Server.

  • One or more users or groups configured in Access Server.