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

    OPT1 needs LAN DNS access

    Scheduled Pinned Locked Moved General pfSense Questions
    109 Posts 5 Posters 19.6k Views 6 Watching
    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.
    • stephenw10S Offline
      stephenw10 Netgate Administrator
      last edited by

      Yeah a real AP (acting as only an AP) is a layer 2 device, it doesn't actually need an IP at all. Though not having one is very inconvenient if you ever want to change anything.

      L J 2 Replies Last reply Reply Quote 1
      • L Offline
        lewis @stephenw10
        last edited by

        I have DHCP set on all networks so that I can see new devices when they pop up. I then nab their MAC address and create a static DHCP entry.

        For me, it's just a convenient way to keep track of things. If a MAC changes for some reason, like a vm rebuild for example, I just update the MAC in my DHCP static list.

        johnpozJ 1 Reply Last reply Reply Quote 1
        • J Offline
          jsmiddleton4 @stephenw10
          last edited by

          @stephenw10

          And if you need to access the AP directly as in LAN cable to the AP. While a static IP assigned via the router gets to nearly the same place, the IP stays the same, if for some reason the router is out of the picture, good luck accessing the AP without a factory reset turning the AP back into a router.

          L 1 Reply Last reply Reply Quote 0
          • johnpozJ Offline
            johnpoz LAYER 8 Global Moderator @lewis
            last edited by

            @lewis said in OPT1 needs LAN DNS access:

            I then nab their MAC address and create a static DHCP entry.

            Yeah I pretty much do the same thing, anything on my network other then guest devices normally have a reservation..

            I'm not really a big fan of the term "static dhcp" maybe I am old school, its a dhcp reservation for me ;)

            Any time someone says static - what comes to my mind is setting the IP on the device directly.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            J 1 Reply Last reply Reply Quote 1
            • J Offline
              jsmiddleton4 @johnpoz
              last edited by

              @johnpoz said in OPT1 needs LAN DNS access:

              I'm not really a big fan of the term "static dhcp" maybe I am old school, its a dhcp reservation for me ;)
              Any time someone says static - what comes to my mind is setting the IP on the device directly.

              That is of course correct. My bad....

              johnpozJ 1 Reply Last reply Reply Quote 0
              • johnpozJ Offline
                johnpoz LAYER 8 Global Moderator @jsmiddleton4
                last edited by johnpoz

                @jsmiddleton4 its not you - pfsense calls it static as well..

                notyou.jpg

                Its not the term is "wrong" exactly - its just it can be a bit confusing if not spelled out exactly that it was via dhcp or set on the device, etc. Especially for us old timers that grew up with the term reservation for years and years..

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • L Offline
                  lewis @jsmiddleton4
                  last edited by

                  @jsmiddleton4 said in OPT1 needs LAN DNS access:

                  @stephenw10

                  And if you need to access the AP directly as in LAN cable to the AP. While a static IP assigned via the router gets to nearly the same place, the IP stays the same, if for some reason the router is out of the picture, good luck accessing the AP without a factory reset turning the AP back into a router.

                  Before doing a reset, you should still be able to see the AP in the wireless list no matter its LAN IP is by using a wireless laptop. Then you could access the AP's admin page since if would be the laptops gateway IP.

                  L J 2 Replies Last reply Reply Quote 0
                  • L Offline
                    lewis @lewis
                    last edited by

                    Maybe it's a reserved static DHCP IP :).

                    It really is reserved but once reserved, it's outside of the DHCP pool making it static within the DHCP server LOL.

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jsmiddleton4 @lewis
                      last edited by

                      @lewis

                      Giving the AP its own static IP eliminates any variables including if a DHCP server is up and running. I like eliminating variables.

                      johnpozJ 1 Reply Last reply Reply Quote 1
                      • johnpozJ Offline
                        johnpoz LAYER 8 Global Moderator @jsmiddleton4
                        last edited by johnpoz

                        @jsmiddleton4 said in OPT1 needs LAN DNS access:

                        including if a DHCP server is up and running

                        This is a misconception as well - dhcp server being offline doesn't stop clients from working that had already gotten a lease. It only prevents clients from getting a new IP or renewing their lease. If you have no new clients coming on to the network.

                        If your lease was say 4 days, worse case scenario your lease would be at 2 days when dhcp goes offline - you would have then 2 days to notice your dhcp server is offline before clients started dropping off when their lease expired ;)

                        Setting a reservation, or call it a static mapping you will has way more advantages then setting the IP on the device itself. You can now change options like dns,ntp, domain or gateway or even the mask or even the IP range being used without having to actually touch a client and make these changes.

                        With the use of reservations - I can easy change a devices IP without having to mess with it. Say its a pain in the ass on stuff like iot or printers are big example. Where you have to go through some arcane menu system using up down arrows and such on the little menu on the printer. If I want my printer IP to be something different, just change the reservation and reboot the printer - bobs your uncle its now on the new ip.

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                        L 1 Reply Last reply Reply Quote 2
                        • L Offline
                          lewis @johnpoz
                          last edited by

                          @johnpoz said in OPT1 needs LAN DNS access:

                          With the use of reservations - I can easy change a devices IP without having >to mess with it. Say its a pain in the ass on stuff like iot or printers are big >example.

                          Exactly and keep track of devices by Description names, MAC and IPs set via the DHCP server. It's how I manage lots of devices.

                          1 Reply Last reply Reply Quote 0
                          • ? Offline
                            A Former User @lewis
                            last edited by

                            @lewis, I am glad that in part it is already solved, but what about this?

                            It says I don't want anyone to be able to get to pfsense management but it has a default rule on LAN (You have to remove it) to correct this.

                            b57f85cc-bec2-407d-a42d-7dd19b864556-image.png

                            @lewis said in OPT1 needs LAN DNS access:

                            I want to prevent opt1 and opt2 from seeing the pfsense gui.

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

                              That rule only passes traffic from LAN it would not allow devices on OPT1 or OPT2 to access anything.

                              1 Reply Last reply Reply Quote 0
                              • L Offline
                                lewis @Guest
                                last edited by

                                @silence Oops, yes, I've removed that now. Thank you for pointing that out.

                                ? johnpozJ 2 Replies Last reply Reply Quote 0
                                • ? Offline
                                  A Former User @lewis
                                  last edited by

                                  @lewis, a pleasure to help you, anything else you need here we are.

                                  1 Reply Last reply Reply Quote 0
                                  • L Offline
                                    lewis
                                    last edited by

                                    Wait now, do I have to uncheck that then or not?
                                    I had already tested and clients from anything other than LAN could not get to pfsense.

                                    1 Reply Last reply Reply Quote 0
                                    • johnpozJ Offline
                                      johnpoz LAYER 8 Global Moderator @lewis
                                      last edited by

                                      @lewis said in OPT1 needs LAN DNS access:

                                      yes, I've removed that now

                                      You removed what the anti-lock out rule? I really wouldn't recommend that.. If your concerned about devices accessing pfsense, don't put them on the pfsense "lan" interface. Put them on a different vlan or interface.

                                      In a locked down scenario, the "lan" makes a perfect admin network. Where the only devices on this network are admin.. Since it has the antilock out rule.

                                      More likely than not, if you remove that you are going to at some point lock yourself out ;) hehehe.

                                      As mentioned by Steve already - the rules on LAN have zero to do with what optX can do..

                                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                                      If you get confused: Listen to the Music Play
                                      Please don't Chat/PM me for help, unless mod related
                                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                                      ? 1 Reply Last reply Reply Quote 0
                                      • ? Offline
                                        A Former User @johnpoz
                                        last edited by

                                        @johnpoz, Every day I have to provide support to people who ignore the default settings. simply because your system works fine.

                                        @stephenw10 good to know that 2 admins defend the default settings.

                                        1 Reply Last reply Reply Quote 0
                                        • L Offline
                                          lewis
                                          last edited by

                                          The LAN side is the only side that should have access to the firewall.
                                          The additional networks should not which is why I still had that the anti-lockout unchecked. I did that based on reading up about anti-lockout and it seemed to be the right way/option.

                                          ? johnpozJ 2 Replies Last reply Reply Quote 0
                                          • ? Offline
                                            A Former User @lewis
                                            last edited by

                                            @lewis, first remove the default rule, and then configure the blocking rule on each interface! If you have questions, how do you let me know? I'm here to help.

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