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

    OpenVPN works but no local DNS

    Scheduled Pinned Locked Moved OpenVPN
    49 Posts 18 Posters 35.3k 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.
    • A
      Allistah @john_galt
      last edited by

      @john_galt

      I made an account here just to say that this resolved my issue as well. I am running pfSense 2.5.2-RELEASE (amd64) and I could connect to VPN without any trouble but any local DNS wouldn't work to the site I was connected to. Once I removed the DNS Resolver from "All" to manually choosing all of the IPv4 interfaces on the "Network Interfaces" and "Outgoing Network Interfaces" within the DNS Resolver, it just started to work as I would expect.

      Maybe there is a bug or something there.

      Thanks for listening - hope this can help improve pfSense!

      1 Reply Last reply Reply Quote 0
      • S
        Schuby @john_galt
        last edited by

        @john_galt This also worked for me. Very strange.

        Z 1 Reply Last reply Reply Quote 0
        • Z
          Zoltrix @Schuby
          last edited by

          @johnpoz can confirm the same issue here. Once I changed the Network Interfaces from "All" to selecting all the interfaces and saving, presto! Working.

          Time for a bug report I guess.

          F 1 Reply Last reply Reply Quote 0
          • F
            fadushin @john_galt
            last edited by

            @john_galt Works for me, too. Very strange. (I did find that I had to log out of the VPN and log back in, to see the effect of the changes. And I selected all the devices, except “All”, for just Network Interfaces.)

            🤷

            Z 1 Reply Last reply Reply Quote 0
            • Z
              Zoltrix @fadushin
              last edited by

              @fadushin very strange.

              1 Reply Last reply Reply Quote 0
              • F
                fadushin @Zoltrix
                last edited by

                @zoltrix Were you able to submit a bug report? I tried but redmine won’t let me log in, depsite password resets.

                Z 1 Reply Last reply Reply Quote 0
                • Z
                  Zoltrix @fadushin
                  last edited by

                  @fadushin I've moved on to using ZeroTier, so not so much of a concern for me now...

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    fadushin @Zoltrix
                    last edited by fadushin

                    @zoltrix I submitted Issue 13041, but it appears that the issue is actually due to the DNS resolver (unbound) not getting updated when an OpenVPN entry is added (See Issue 12991).

                    I was able to revert Network Interfaces back to "All", and internal DNS resolution is working.

                    So for anyone out there experiencing this issue, simply try to restart the DNS resolver, and see if that works.

                    C 1 Reply Last reply Reply Quote 2
                    • N
                      NRgia
                      last edited by

                      Still present. Thanks for the above info. It helped me to resolve the DNS issue.

                      Z 1 Reply Last reply Reply Quote 1
                      • Z
                        Zoltrix @NRgia
                        last edited by

                        @nrgia bit of a shame hey...

                        1 Reply Last reply Reply Quote 1
                        • J
                          jp712
                          last edited by

                          I just spent hours beating my head on the wall with the same exact symptoms. Could connect everything was configured right but DNS would time out!

                          Turned out it was a firewall rule under OpenVPN from the guide I had followed when I manually setup the server. The rule was only allowing TCP traffic from my OpenVPN subnet....

                          Changing the rule to allow any protocol to any source and any destination has fixed it!

                          Found the info here --> https://docs.netgate.com/pfsense/en/latest/vpn/openvpn/firewall-rules.html

                          1 Reply Last reply Reply Quote 0
                          • C
                            Coen @fadushin
                            last edited by

                            @fadushin +1

                            1 Reply Last reply Reply Quote 0
                            • M madbrain referenced this topic on
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.