# VPN Policies on 4.2.1

**URL:** <https://forum.gl-inet.com/t/vpn-policies-on-4-2-1/29778>\
**Category:** Router\
**Created:** [May 15, 2023, 8:42pm UTC](https://forum.gl-inet.com/t/vpn-policies-on-4-2-1/29778 "2023-05-15T20:42:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlozon](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/j/3da27b/32.png) [@jlozon](https://forum.gl-inet.com/u/jlozon)\
**Post date:** [May 15, 2023, 8:42pm UTC](https://forum.gl-inet.com/t/vpn-policies-on-4-2-1/29778/1 "2023-05-15T20:42:09Z")

</div>

I’m a little embarrassed but I can’t seem to wrap my head around how to accomplish what I was able to with VPN policies back on v3.x

I’m using the Flint AX1800, and essentially I want all traffic to go through the VPN except for a few specific domains. In the old firmware, it was as simple as a VPN policy of ‘Do not use the VPN for these domains’ and a list of addresses.

Now it seems like you either use the VPN for everything (Global Proxy), or you have to do specific routes for everything that is allowed in order to also have a list of what’s not allowed. Am I missing something that should otherwise be obvious?

---

<div class="post-metadata">

**Author:** ![yuxin.zou](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/yuxin.zou/32/11475_2.png) [@yuxin.zou](https://forum.gl-inet.com/u/yuxin.zou)\
**Post date:** [May 16, 2023, 1:32am UTC](https://forum.gl-inet.com/t/vpn-policies-on-4-2-1/29778/2 "2023-05-16T01:32:40Z")

</div>

Please switch [Proxy Mode](https://docs.gl-inet.com/en/4/tutorials/vpn_dashboard/#proxy-mode) to **Based on the target domain or IP** in VPN dashboard page.

---

<div class="post-metadata">

**Author:** ![jlozon](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/j/3da27b/32.png) [@jlozon](https://forum.gl-inet.com/u/jlozon)\
**Post date:** [May 16, 2023, 2:02am UTC](https://forum.gl-inet.com/t/vpn-policies-on-4-2-1/29778/3 "2023-05-16T02:02:41Z")

</div>

That makes sense but the policy mode ‘Based on the target domain or IP’ requires defining everything you want to go through the VPN as well as what doesn’t go through the VPN… so how to configure that? It doesn’t appear to support a wildcard of \* for allow…

---

<div class="post-metadata">

**Author:** ![yuxin.zou](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/yuxin.zou/32/11475_2.png) [@yuxin.zou](https://forum.gl-inet.com/u/yuxin.zou)\
**Post date:** [May 16, 2023, 2:25am UTC](https://forum.gl-inet.com/t/vpn-policies-on-4-2-1/29778/4 "2023-05-16T02:25:34Z")

</div>

What kind of rules do you need to configure? `*.abc.com` or `www.a*b.com`?  
For the former, all you need to do is enter `abc.com`.

---

<div class="post-metadata">

**Author:** ![jlozon](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/j/3da27b/32.png) [@jlozon](https://forum.gl-inet.com/u/jlozon)\
**Post date:** [May 16, 2023, 2:59am UTC](https://forum.gl-inet.com/t/vpn-policies-on-4-2-1/29778/5 "2023-05-16T02:59:17Z")

</div>

I want all traffic to go through the VPN _except_ just a few domains. How can I do that? It doesn’t seem to accept a wildcard for the allow, so I don’t know how to configure it to be like the old firmware version, which seemed to have an implicit allow ‘all’ for the VPN and allowed configuration for just the exceptions of what _shouldn’t_ go through the VPN. Does that make sense?

---

<div class="post-metadata">

**Author:** ![yuxin.zou](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/yuxin.zou/32/11475_2.png) [@yuxin.zou](https://forum.gl-inet.com/u/yuxin.zou)\
**Post date:** [May 16, 2023, 4:06am UTC](https://forum.gl-inet.com/t/vpn-policies-on-4-2-1/29778/6 "2023-05-16T04:06:38Z")

</div>

Please take a look at the text on the interface. In this case, all traffic will use the VPN except when accessing the domain/IP in the list.  
 ![image](https://forum-static.gl-inet.com/original/2X/b/b334caf1ee9f2fb770d8df1c14d55222d6b66c05.png)

---

<div class="post-metadata">

**Author:** ![bruce](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bruce/32/35649_2.png) [@bruce](https://forum.gl-inet.com/u/bruce)\
**Post date:** [October 29, 2025, 4:22am UTC](https://forum.gl-inet.com/t/vpn-policies-on-4-2-1/29778/7 "2025-10-29T04:22:06Z")

</div>


