# Only routing VPN traffic via Wireguard

**URL:** <https://forum.gl-inet.com/t/only-routing-vpn-traffic-via-wireguard/67766>\
**Category:** VPN, DNS, Leaks\
**Created:** [March 23, 2026, 6:48pm UTC](https://forum.gl-inet.com/t/only-routing-vpn-traffic-via-wireguard/67766 "2026-03-23T18:48:43Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![will.qiu](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/w/b38774/32.png) [@will.qiu](https://forum.gl-inet.com/u/will.qiu)\
**Post date:** [March 24, 2026, 6:57am UTC](https://forum.gl-inet.com/t/only-routing-vpn-traffic-via-wireguard/67766/5 "2026-03-24T06:57:04Z")

</div>

Hi

I assume you’re simply looking to set up an S2S WireGuard tunnel, in which case you don’t need to change `AllowedIPs = 0.0.0.0/0`.

Then you can then refer to the configuration below:

> [@Site 2 site setup internet not working](https://forum.gl-inet.com/t/site-2-site-setup-internet-not-working/67715/6):
>
> That guide applies to devices running v4.7 firmware. In v4.8, the configuration is different. The configuration is as follows: On the WireGuard server side: Go to Admin Panel → VPN → WireGuard Server, and configure routing to the WireGuard client’s subnet. On the WireGuard client side: Go to Admin Panel → VPN → VPN Dashboard, switch to Policy Mode, and configure it so that only traffic destined for the remote subnet goes through the VPN.

---

_[View the full topic](https://forum.gl-inet.com/t/only-routing-vpn-traffic-via-wireguard/67766)._
