Site to Site Wireguard has NO DNS
-
I am using Pfsense as both the client site and the server site. I have successfully made a site to site wireguard VPN connection. I can even reach the internet through the other site. For some reason, I can't get the DNS to work. Any ideas where to start?
-
@Ryu945 Been thinking about this... Services - DNS Resolver - General Settings - Network Interfaces, make sure the "WireguardVPN Server" is one of the choices.
-
@The-Party-of-Hell-No I did that already. I also looked into DNS access list. On the client side, I added the tunnel network and the server lan to the access list. On the server side, I added the the tunnel network and client lan to the access list. I do see one strange feature. My main site is running local websites. If I put a dns override for on my client site, it will successfully complete that dns request.
-
@Ryu945 I never figured out how to get it working in self DNS mode like I could with OpenVPN. I had to put the DNS Resolver in forwarding mode to get it to work.
I also figured out that both the client and server need wireguard rules saying both client LAN to server LAN and server LAN to client LAN.