# VPN/Wireguard split routing?

**URL:** <https://forum.gl-inet.com/t/vpn-wireguard-split-routing/8960>\
**Category:** Router\
**Created:** [November 29, 2019, 3:26pm UTC](https://forum.gl-inet.com/t/vpn-wireguard-split-routing/8960 "2019-11-29T15:26:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grieger](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/8dc957/32.png) [@grieger](https://forum.gl-inet.com/u/grieger)\
**Post date:** [November 29, 2019, 3:26pm UTC](https://forum.gl-inet.com/t/vpn-wireguard-split-routing/8960/1 "2019-11-29T15:26:22Z")

</div>

Hi, I’m trying to set up Wireguard on a GL-AR750S (currently 3.100 for the fun of it) to route only one subnet to the Wireguard peer. So config looks like “AllowedIPs = 192.168.2.0/24, 10.0.1.0/24”. Connection works and tunnel is usable.

But whatever I do, bringing up the connection sets a default route to the WG interface. It’s pretty hardcoded in the wireguard init script (if this is actually used here).

Is there a way to just configure routes to the AllowedIPs through the tunnel and leave def route as is (like wg-quick is doing?)? I tried to use VPN Policies to allow only traffic for the AllowedIPs to the VPN but didn’t work for me, neither.

Best  
Götz

---

<div class="post-metadata">

**Author:** ![robotluo](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/robotluo/32/17434_2.png) [@robotluo](https://forum.gl-inet.com/u/robotluo)\
**Post date:** [December 3, 2019, 3:32am UTC](https://forum.gl-inet.com/t/vpn-wireguard-split-routing/8960/2 "2019-12-03T03:32:16Z")

</div>

Hi,

You can try to modify the **/etc/vpn.user**

---

<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:09am UTC](https://forum.gl-inet.com/t/vpn-wireguard-split-routing/8960/3 "2025-10-29T04:09:27Z")

</div>


