This is an automated archive.
The original was posted on /r/wireguard by /u/pyoopypops on 2024-01-02 21:50:49+00:00.
As we all know, if you have a network problem, it's always DNS. I'm at a bit of a loss for how to attack this current issue I'm having.
At home I have an Opnsense router running Wireguard. Opnsense provides DNS for some devices on the network, and I have a PiHole that other devices use.
When I'm on the road I connect to my home VPN with an Android phone and Windows 10 machine, both of which are configured to send all traffic through the WG tunnel and to use the PiHole for DNS. Nothing (that I know of) has changed on the server or on either device.
My issue: The phone works perfectly. The laptop *used to* work perfectly, but now is not able to access the internet when connected to WG. It can still reach all the devices on my home network while connected, but any requests which go outside the network (eg, to Google, Reddit, etc) time out. The fact that local network traffic works when connected to WG makes me think that it's DNS, since those addresses don't require DNS to reach. The strange thing, though, is that the problem persists regardless of which DNS server I instruct the laptop to use (ie PiHole or Opnsense). Both of those DNS servers are working if I alter the config on the phone. It's almost like the DNS request packets aren't going through the tunnel or are otherwise being blocked.
I've confirmed that the WG configuration on the laptop has not changed, and is still showing 0.0.0.0/0 for Allowed IPs.
The configuration on the WG server also has not changed, nor have any of the routing/firewall rules (as far as I can tell).
I'm sorry this was so wordy, hopefully it's clear what my issue is. I'm not even sure if this is a client (eg Windows) or a server issue, and I'm running out of thoughts on how to troubleshoot. I'll bet $10 that it's something dumb and I'm an idiot. Thank you for the help!