No Internet while VPN is on

Hello everyone,

I have a question for you.

I bought two Gl iNet devices to create a VPN between my home and a mobile hotspot in 4G/5G. The VPN connection between the two devices via WireGuard works; I have access to the local network, but unfortunately, it is impossible to get the internet to work from the client—no page opens. When the VPN is disabled, the internet works again. Do you know why?

I will try to explain my configuration.

Modem Router Swisscom Connect Box 5
Local Address 192.168.1.1
192.168.1.100 --> address of the VPN server GL iNet GL-MT2500 (DMZ active)

iNet GL-MT2500 (Server)
Local Address 192.168.2.1
VPN server 10.0.0.1/24 Port 51820

iNet GL-SFT1200 (Client)
Local Address 192.168.3.1
Proxy Mode Auto Detect

Do you know what could be blocking it? I tried to modify various things in LuCi but without success, causing more issues than anything else, so I reset both devices to zero.

Thank you for your help.

Check How to troubleshoot WireGuard and check your wireguard config file. I assume the DNS server is the issue here.

Hello Admon

The DNS servers are automatically added when configuring the WireGuard service. Here is what gets added:
DNS = 64.6.64.6,10.0.0.1

I have already tried using public DNS servers like 8.8.8.8 or 1.1.1.1, but it doesn't work.

Only the local network is working properly.