Can I leave the Wireguard VPN on when I am at home, on the wifi?

make sure you enable hardware offloading and you’ll be fine on gig.

OK. This is interesting.

I have a dd-wrt router running dnsmasq, which is what I use for my home wifi.

I added a line to the dnsmasq conf:

`host-record=myname,myname.duckdns.org,10.0.1.50`

Resarted stuff.

On my laptop (which doesn’t have any wg yet), I can see that nslookup for myname.duckdns.org returns 10.0.1.50. So does `nslookup myname`. Cool.

So I do my test again. My phone is connected to wifi. I turn on the connection to wg. I connect to my home server. That works! Then I turn off the wifi… And it doesn’t work. I toggle the wg off and back on again and it works. Then I turn back on my wifi, and it doesn’t work.

So I think it is actually working to bypass the NAT loopback, but wg does the lookup, and then doesn’t check again when I switch networks. I will let it soak for a little while and see if it is just freaking out because I am changing it on and off. Maybe it would be a good workaround if I was not checking it right after changing the settings.

I have. It’s pretty much the first thing I do if I reset it, right after setting up DHCP+switch0. Thanks.