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

    How to get pfsense to push DNS with OpenVPN / tunnelblick

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 1 Posters 5.5k 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.
    • F
      fw
      last edited by

      I am running openvpn server on pfsense. I am using DNS resolver on pfsense, but when I connect to the openvpn server with the tunnelblick client on my mac, the DNS settings are not updated (when I do nslookup it uses 8.8.8.8 instead of my firewall/DNS resolver IP). If I manually update my DNS servers after I connect, it works fine, but I cannot figure out how to get pfsense to push DNS to tunnelblick. In fact, everytime I connect, tunnelblick complains that DNS is not working and that my vpn is not configured correctly. I have configured tunnelblick to use "Set nameserver". Not sure what setting to mess with on pfsense.

      1 Reply Last reply Reply Quote 0
      • F
        fw
        last edited by

        I figured it out. It is working now.

        OpenVPN -> Servers -> Advanced Client Setttings -> DNS Server enableProvide a DNS server list to clients -> Specify list of hardcoded DNS servers

        Not sure why that is an "Advanced" Setting or why the IP needs to be hardcoded. I would think you would want it to push the DNS Resolver IP by default.

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