# Route Tailscale Through VPN Connection

**URL:** <https://forum.gl-inet.com/t/route-tailscale-through-vpn-connection/64405>\
**Category:** VPN, DNS, Leaks\
**Created:** [September 29, 2025, 6:59pm UTC](https://forum.gl-inet.com/t/route-tailscale-through-vpn-connection/64405 "2025-09-29T18:59:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [September 30, 2025, 11:38am UTC](https://forum.gl-inet.com/t/route-tailscale-through-vpn-connection/64405/3 "2025-09-30T11:38:27Z")

</div>

Hi

I assume you already know how to configure GL.iNet as an exit node.  
If you need assistance on this side, please refer to the following thread for configuration.

> [@Tailscale settings lost on reboot](https://forum.gl-inet.com/t/tailscale-settings-lost-on-reboot/31524/19):
>
> Yeah I see that now after you posted that dir list. The more I look at this the more it seems all so familar: This is untested code to enable exit nodes I never got feedback on from someone else but here: sed '/param="$param --exit-node-allow-lan-access --exit-node=$exit\_node\_ip"/a\ param=“$param --advertise-exit-node --allow-exit-node --allow-routes”' /usr/bin/gl\_tailscale \>\> \ /usr/bin/gl\_tailscale.new && mv /usr/bin/gl\_tailscale /usr/bin/gl\_tailscale.stock \ && mv /u…

Here are the steps to further adjust the configuration to make with Tailscale exit node work with WireGuard VPN:

1. In Luci - Network - Firewall - Zones, configure `tailscale0` to allow forwarding to `wgclient1`.  

2. In Luci - Network - Routing - IPv4 rules, add the following two rules:  
2.1 Forward outbound traffic from the Tailscale network into the VPN tunnel.

---

_[View the full topic](https://forum.gl-inet.com/t/route-tailscale-through-vpn-connection/64405)._
