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

    Only first connected user got DNS domain resolution.

    Scheduled Pinned Locked Moved OpenVPN
    19 Posts 5 Posters 1.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.
    • PippinP
      Pippin
      last edited by Pippin

      Look at "DNS Server enable" and "WINS server enable", those are tunnel IPs.
      I doubt there is a DNS/WINS server listening on that address.

      The following addresses are not usable in topology subnet:
      192.168.100.0
      192.168.100.1
      192.168.100.254
      192.168.100.255

      *Edit to be more accurate.

      I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
      Halton Arp

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

        This :
        @Pippin said in Only first connected user got DNS domain resolution.:

        https://www.youtube.com/watch?v=PtZxuC9IyTg
        192.168.100.254
        192.168.100.1

        are valid addresses.
        pfSense is delivered with a 192.168.1.1 on it's LAN.

        "WINS" servers still exists these days ?

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

        PippinP 1 Reply Last reply Reply Quote 0
        • S
          szneo
          last edited by

          Thanks for the answers.

          I'm attaching the rules for firewall view.

          Please let me know if its needed more information.

          Wan
          ovpn wan.png

          Lan
          ovpn lan.png

          Openvpn Tab
          ovpn tab.png

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

            Your OpenVPN firewall rule looks fine.
            33,86 MB of traffic passed by : ok.

            It's time to make this :

            430cae38-b9af-4ac8-9e0e-33066a74502b-image.png

            readable.

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

            KOMK 1 Reply Last reply Reply Quote 0
            • KOMK
              KOM @Gertjan
              last edited by

              @Gertjan It must be your settings because his updated images look good to me. I can read every line, and I have pretty thick glasses.

              1 Reply Last reply Reply Quote 0
              • S
                szneo
                last edited by

                Thanks for your comments again.

                Ive just edited images at full image size, hope it works this time.

                1 Reply Last reply Reply Quote 0
                • PippinP
                  Pippin @Gertjan
                  last edited by

                  Images look fine here too.

                  @Gertjan said in Only first connected user got DNS domain resolution.:

                  This :
                  @Pippin said in Only first connected user got DNS domain resolution.:

                  https://www.youtube.com/watch?v=PtZxuC9IyTg
                  192.168.100.254
                  192.168.100.1

                  are valid addresses.
                  pfSense is delivered with a 192.168.1.1 on it's LAN.

                  "WINS" servers still exists these days ?

                  It won't work...
                  .0 is the tunnel network designation
                  .1 is the servers tunnel IP
                  .254 is OpenVPNs internal DHCP server
                  .255 is broadcast
                  Leaving 252 addresses for clients.

                  There is an exception though. The servers tunnel IP could be used to point to a service if that service is running on the OpenVPN host.
                  Pointing to a service is typically not done on tunnel addresses.

                  I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
                  Halton Arp

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    szneo @Pippin
                    last edited by

                    @Pippin said in Only first connected user got DNS domain resolution.:

                    It won't work...
                    .0 is the tunnel network designation
                    .1 is the servers tunnel IP
                    .254 is OpenVPNs internal DHCP server
                    .255 is broadcast
                    Leaving 252 addresses for clients.

                    192.168.100.254 it's the pfsense gateway and we put the " IPv4 Tunnel Network " as 192.168.100.0/24 for supposedly new openvpn clients get an IP from the same Pfsense LAN ( 192.168.100.0/24 ).

                    Thanks for your comments.

                    1 Reply Last reply Reply Quote 0
                    • PippinP
                      Pippin
                      last edited by

                      That's not how it works.

                      Your tunnel network cannot be your LAN network...case of conflicting subnets.

                      I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
                      Halton Arp

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        szneo @Pippin
                        last edited by

                        @Pippin said in Only first connected user got DNS domain resolution.:

                        That's not how it works.

                        Your tunnel network cannot be your LAN network...case of conflicting subnets.

                        @Pippin thanks for the clarification. Could you confirm to me if, after changing the ' Virtual Tunnel Network ' to anything else ( ie: 10.0.8.0/24 ), will be needed to add any rule to firewall/openvpn in order to that change work ?.

                        Regards,

                        1 Reply Last reply Reply Quote 0
                        • PippinP
                          Pippin
                          last edited by Pippin

                          All rules related to the virtual tunnel network.

                          I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
                          Halton Arp

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            szneo @Pippin
                            last edited by

                            @Pippin said in Only first connected user got DNS domain resolution.:

                            All rules related to the virtual tunnel network.

                            @Pippin really appreciate all comments. Works great now. As you mention, the error were putting the LAN network as the Virtual Network. Now, all clients connects, resolve domains and ping lan ips : ).

                            Thank u all for the time.

                            Regards,

                            1 Reply Last reply Reply Quote 0
                            • PippinP
                              Pippin
                              last edited by

                              Glad you got it working.

                              I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
                              Halton Arp

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