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

    DNS Resolver for VPN Clients

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 2.1k 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.
    • D Offline
      doteater
      last edited by

      Hey folks,

      I want my VPN clients to use my pfSense's DNS resolver.
      However, it seems like DNS Resolver can't listen on the VPN network.

      Is it necessary to assign each VPN server to an interface? I tried this, and played around with the bridging settings but I couldn't get the client to obtain an IP address in this configuration.

      Can someone advise me as to how to have OpenVPN clients resolve DNS from the same pfsense that's acting as their DNS server, or maybe point me towards the relevant documentation?

      Let me know if I can provide any more info.

      Thanks y'all, stay cool.

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        It should work without much fuss, but make sure the VPN clients are listed in the ACLs for the resolver otherwise it may reject their queries.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • D Offline
          doteater
          last edited by

          Thanks jimp, that did it.

          Didn't occur to me since I didn't need to do that for my LAN subnets, but now that I've added an allow for the VPN subnet they can resolve.

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