GL-A1300 and Wireguard to fritzbox

Got my GL-A1300 today and I have been trying to get it to work for my purpose for several hours now.

The goal is to use a wireguard connection from the router to my fritzbox back home, so I can connect to my home LAN with the NAS.

I setup a connection on the fritzbox for router-to-router connection. Best I can get is accessing the devices in my lan with the IP address or the FQDN (like server.fritz.box). I’d prefer to be able to just use the server name without the local domain, but that’s just small inconvenience.

The big problem is that internet DNS and access to internet sites doesn’t work. I’ve tried about everything in the settings, also checked in advanced settings, edited the conf file, … and ran out of options. Is there a simple, concise How-To to configure such a setup? I’m sure I’m not the only one with such a configuration?

Hi,

Please refer to this tutorial for setup: Access WireGuard Server LAN from Client via domain name - GL.iNet Router Docs 4

If the issue still exists after completing the setup, could you please send us the following information via private message for further checking:

  1. Please provide the WireGuard configuration from the GL-A1300, with sensitive information such as the private key, endpoint, DDNS/public IP address removed.
  2. Please enable dnsmasq logs in LuCI -> Network -> DHCP and DNS, then provide the related DNS request logs.
  3. Please capture packets on the fritzbox side and send us the capture file, so we can check whether DNS requests from the WireGuard client are received and whether the FRITZ!Box sends DNS replies.
    You can refer to this Wireshark Q&A for capturing traffic with a FRITZ!Box.

Probabel explanation:

I think at some point I must have messed something up when it wasn’t working right away.
So I did a factory reset of the GL-A1300 and started all over again following your tutorial as closely as possible and now it works as it should. Note that this time I also got a different wireguard conf file from the fritzbox, so I may have already messed up there the first time.

Thank you for your help.