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

    NETGATE 2100 OPENVPN DNS QUESTION

    Scheduled Pinned Locked Moved OpenVPN
    22 Posts 5 Posters 1.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.
    • T
      turbogn87 @Gertjan
      last edited by

      @Gertjan Ok, where do I go to find the unbound?? I not sure where to find that in pfsense? Again thank you for you time!!

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @turbogn87
        last edited by

        @turbogn87 said in NETGATE 2100 OPENVPN DNS QUESTION:

        Ok, where do I go to find the unbound?? I not sure where to find that in pfsense?

        unbound is also known as what pfSense calls the resolver (as it is a dns resolver):

        3d96b962-dc43-49a2-aee4-a2fb68723755-image.png

        Here you can see it running :

        24071f3f-a723-4b7a-8e62-0b10decbfedd-image.png

        Its just one of the many process running on your pfSense.

        This is the process that 'listens' ( as shown in my previous post) on all interfaces (did you check that ?) on DNS port '53'.
        It should also listen on your VPN tunnel IP, typically 10.0.30.1.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        T 1 Reply Last reply Reply Quote 0
        • T
          turbogn87 @Gertjan
          last edited by

          @Gertjan ok, here is what I have, I thought you were talking about dns resolver, I wasnt 100% sure, attached are my logs and my resolver setting, looks like port 54 is wide open and network interfaces and outgoing are highlighted.1733412900360-0c1ca333-0081-43c1-83c8-892ff3449901COM - Diagnostics_ System Activity_1.jpg 1733412900360-0c1ca333-0081-43c1-83c8-892ff3449901COM - Diagnostics_ System Activity_2.jpg 1733412974964-888d18ff-c285-48b3-9891-32878fb0f7a5COM - Services_ DNS Resolver_ General Settings_1.jpg 1733412974964-888d18ff-c285-48b3-9891-32878fb0f7a5COM - Services_ DNS Resolver_ General Settings_2.jpg

          GertjanG A 3 Replies Last reply Reply Quote 0
          • GertjanG
            Gertjan @turbogn87
            last edited by Gertjan

            @turbogn87

            The first two image : no need to past the big picture.
            I saw unbound in there ... so all is well, it's running.

            For myself, I do this :

            [24.11-RELEASE][root@pfSense.bhf.tld]/root: ps aux | grep 'unbound.conf'
            unbound 11560   0.0  3.4 154388 135772  -  Ss   09:51       5:46.91 /usr/local/sbin/unbound -c /var/unbound/unbound.conf
            

            ๐Ÿ˜Š

            This :

            Looks strange.
            7f01d858-fe83-46fe-8de1-6b5ee725b70a-image.png

            No interfaces selected ?!

            I have the default (using a 4100 with 24.11):

            b69041da-0b10-412c-94ab-9fb45a205268-image.png

            And your resolver isn't doing any resolving, you forward (that's not default !), you should disable :

            7008d6cf-9d46-4775-b3ea-8b7eaff32963-image.png

            but this doesn't explain your dns openvpn issue.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            T 1 Reply Last reply Reply Quote 0
            • T
              turbogn87 @Gertjan
              last edited by

              @Gertjan sorry about that, not sure why they are do freaking big lol, yes you are correct, on my GUI both are highlighted all it just didn't show up in my screenshot for whatever reason.

              GertjanG 1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan @turbogn87
                last edited by

                @turbogn87

                Did you try the packet capture ?

                18fd2064-640d-4bc2-b570-d46f07aa8e1c-image.png

                1. Select the VPN interface.
                2. Select View : Full details
                3. Protocol UDP (we're after DNS after all)
                4. and port 53, as DNS uses port 53.

                Then, hit the Green start button.

                Connect your client VPN device.

                Check that you are connected :

                8a75e7ce-d440-4e36-bd10-69cf380c7829-image.png

                Now, if you have the tools (apps) : do some DNS requests.
                If you use a windows OS : nslookup can help you ...
                Android device ? Nevers saw them, but apps must exist.
                iphones : get the he.net app for, example.

                The packet tracer should show results now = dns packets with the host names your device was looking for.

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                T 1 Reply Last reply Reply Quote 0
                • A
                  Antibiotic @turbogn87
                  last edited by

                  @turbogn87 Is it Mac OS, fonts are awesome?

                  pfSense plus 24.11 on Topton mini PC
                  CPU: Intel N100
                  NIC: Intel i-226v 4 pcs
                  RAM : 16 GB DDR5
                  Disk: 128 GB NVMe
                  Brgds, Archi

                  1 Reply Last reply Reply Quote 0
                  • A
                    Antibiotic @turbogn87
                    last edited by

                    @turbogn87 I mean font rendering

                    pfSense plus 24.11 on Topton mini PC
                    CPU: Intel N100
                    NIC: Intel i-226v 4 pcs
                    RAM : 16 GB DDR5
                    Disk: 128 GB NVMe
                    Brgds, Archi

                    1 Reply Last reply Reply Quote 0
                    • T
                      turbogn87 @Gertjan
                      last edited by

                      @Gertjan give me over the weekend to check on things, I been buried on other projects, I will report back. Thank you again for all your help!!!!

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        turbogn87 @turbogn87
                        last edited by

                        @turbogn87 Well I tried all your suggestions, I honestly stumped lol, I do not see why I can ping my host name but IP is fine. I'm sure its something silly I'm missing. If you are out of answers I do understand and I appreciate your time. If you know anything else to look for let me know. The only other thing I did notice and doesn't make any sense. If im connected If I run like a program like angry ip scanner It will see the IP and the machine name and I can ping my host name after I scan until I disconnect and reconnect.

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          What are you actually trying to resolve? Hostnames in the local network? And I assume that works if you are on the local network directly?

                          Are they actually failing to resolve? What error is shown on the remote client?

                          Are you trying to use just the hostname? What if you try the full FQDN?

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            turbogn87 @stephenw10
                            last edited by

                            @stephenw10
                            What I'm trying to resolve is when I connect through my vpn I would like to either rdp to my office pc or my file server which I can as long as I know the IP address. If I put in just the computer name it doesn't work. I'm not getting any kind of error. If I try to ping by name or I did try to FQDN it just comes back and tells me it cant find the name lol. Like I said im self taught here, I was in IT like 20 years ago. I usually can figure out most issues, but PFsense and openvpn is somewhat new to me. To be clear my so-called server is just a file server as in a win11 pc with some shares I have about 3 other pc's in the office accessing. No true windows server doing dhcp or dns, Im letting my netgate device handle all that. Not sure if that has something to do with it. And yes I can ping just fine by name across the network, just when im offsite connected through vpn, but i can ping the netgate device name. So that kinda tells me dns is somewhat working. I hope all that makes sense.

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              OK so what error do you see if you try to just: ping server1

                              And what if you try the full fqdn like: ping server1.domain.local

                              Obviously use the real domain you have configured.

                              The other thing is that hostnames are not registered in the resolver by default. The fact you are able resolve them when local makes me assume you have enabled that but make sure it is in the DHCP server settings. That also assumes that the hosts you are trying to ping are using DHCP...

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                turbogn87 @stephenw10
                                last edited by

                                @stephenw10 HA!!!!! you my friend just turned on the light switch, It was staring me in the face all this time. When you mentioned DHCP I remembered I set my server to static a few weeks back just to keep up with the IP till i figured out why DNS wasn't working. Welllllll I set it back to automatic let it get a proper IP from the netgate device. To be certain I rebooted the box and boom I can ping both by name and IP now. Thank you for making me actually think lol. I think I'm good now. Thank you and to everyone who replied with suggestions. I apprecieate all of you!! Merry Christmas.

                                1 Reply Last reply Reply Quote 1
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  Ah, nice!

                                  Yup I've been there. ๐Ÿ˜‰ I usually enter devices as a static mapping even they are using statically configured IPs. That way they still resolve and you can't accidentally reuse the IP.

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