# Forwarded port not working under Wireguard Server

**URL:** <https://forum.gl-inet.com/t/forwarded-port-not-working-under-wireguard-server/47769>\
**Category:** VPN, DNS, Leaks\
**Created:** [September 28, 2024, 5:54am UTC](https://forum.gl-inet.com/t/forwarded-port-not-working-under-wireguard-server/47769 "2024-09-28T05:54:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [September 29, 2024, 6:59am UTC](https://forum.gl-inet.com/t/forwarded-port-not-working-under-wireguard-server/47769/2 "2024-09-29T06:59:52Z")

</div>

Seems similar to this issue of the router dnamasq, please refer to this thread:

> [@DNS is not resolving from VPN (Wireguard and OpenVPN) on Slate AX GL-AXT1800](https://forum.gl-inet.com/t/dns-is-not-resolving-from-vpn-wireguard-and-openvpn-on-slate-ax-gl-axt1800/45573/18):
>
> Sorry I missed a part setting of VPN dnsmasq: The updated full command is: # set dnsmasq uci set dhcp.@dnsmasq[0].local='/lan\_chgd/' uci commit dhcp # restart dnsmasq /etc/init.d/dnsmasq restart # set VPN dnsmasq sed -i 's/local=\/lan/local=\/lan\_chgd/' /etc/dnsmasq.conf.vpn # restart vpn dnsmasq . /usr/bin/route\_policy handle\_dns

SSH to router, and execute the commands.

---

_[View the full topic](https://forum.gl-inet.com/t/forwarded-port-not-working-under-wireguard-server/47769)._
