Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Site to Site Wireguard has NO DNS

    Scheduled Pinned Locked Moved WireGuard
    4 Posts 2 Posters 71 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Ryu945
      last edited by

      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?

      T R 2 Replies Last reply Reply Quote 0
      • T
        The Party of Hell No @Ryu945
        last edited by The Party of Hell No

        @Ryu945 Been thinking about this... Services - DNS Resolver - General Settings - Network Interfaces, make sure the "WireguardVPN Server" is one of the choices.

        R 1 Reply Last reply Reply Quote 0
        • R
          Ryu945 @The Party of Hell No
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • R
            Ryu945 @Ryu945
            last edited by Ryu945

            @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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.