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

    Host OverRide for UnFi APs

    Scheduled Pinned Locked Moved General pfSense Questions
    47 Posts 6 Posters 8.2k Views 7 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.
    • M Offline
      MagikMark @NogBadTheBad
      last edited by

      @nogbadthebad Do you have a step by step guide?

      NogBadTheBadN johnpozJ 2 Replies Last reply Reply Quote 0
      • M Offline
        MagikMark @mcury
        last edited by

        @mcury

        1. What's the IP of U6, 192.168.1.1? If so this is also the IP of my WAN
        2. set-inform http://10.0.1.1:8080/inform OR
          3, set-inform http://10.0.1.1:8443/inform
        M 1 Reply Last reply Reply Quote 0
        • M Away
          mcury Rebel Alliance @MagikMark
          last edited by mcury

          @magikmark said in Host OverRide for UnFi APs:

          @mcury

          1. What's the IP of U6, 192.168.1.1? If so this is also the IP of my WAN
          2. set-inform http://10.0.1.1:8080/inform OR
            3, set-inform http://10.0.1.1:8443/inform
          1. the U6 will get one IP of the 10.0.2.0 network through DHCP.
          2. Check the DHCP to confirm what is the U6 IP address, connect to it through SSH, username and password mentioned above, then type: set-inform http://10.0.1.1:8080/inform

          Port 8080 is for adoption, and 8443 to manage the controller, so, to adopt use port 8080.

          Observation here is that you need a firewall rule in pfsense allowing the AP to reach the controller on TCP port 8080.

          edit: https://help.ui.com/hc/en-us/articles/204909754-UniFi-Layer-3-Adoption-for-Remote-UniFi-Network-Applications

          edit2: https://help.ui.com/hc/en-us/articles/218506997-UniFi-Ports-Used

          dead on arrival, nowhere to be found.

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            MagikMark @mcury
            last edited by

            @mcury

            Ssh uses port 21 right?

            Thanks for reminding about the firewall rule

            Will try this later

            M 1 Reply Last reply Reply Quote 0
            • M Away
              mcury Rebel Alliance @MagikMark
              last edited by

              @magikmark said in Host OverRide for UnFi APs:

              @mcury

              Ssh uses port 21 right?

              Thanks for reminding about the firewall rule

              Will try this later

              TCP port 22.

              dead on arrival, nowhere to be found.

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                MagikMark @mcury
                last edited by

                @mcury

                Oops! Thanks again

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

                  @magikmark why are you putting your AP on another vlan? You can run another vlan for your wireless once the AP Is up and running.

                  But for ease of setup and management of your AP should really be on the same network as your controller.

                  Or you have to do L3 adoption. That is NOT what I would suggest for the first time unifi user..

                  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

                  M 1 Reply Last reply Reply Quote 0
                  • JKnottJ Offline
                    JKnott @MagikMark
                    last edited by

                    @magikmark

                    This is why the network gods created management LANs. Actually, your problem is the controller relies on discovery to find the APs and other Unifi devices. Discovery uses multicasts, which are not normally passed by routers. This means the AP must be in the same LAN as the controller.

                    PfSense running on Qotom mini PC
                    i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                    UniFi AC-Lite access point

                    I haven't lost my mind. It's around here...somewhere...

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

                      @jknott said in Host OverRide for UnFi APs:

                      This means the AP must be in the same LAN as the controller.

                      Well yes and no.. They do have L3 adoption, and they do have support for tagged vlans now for managment, etc.

                      But I sure wouldn't suggest someone new to it all to do any of that. Put your AP on the same network as your controller. Then you can setup your wifi networks to be on different vlans..

                      Once your more familiar with the how this all works, then if you wanted sure you could put your controller and the AP on different networks

                      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
                      • M Offline
                        MagikMark @johnpoz
                        last edited by

                        @johnpoz

                        I'm putting the AP in another interface. I have a 4 port NIC.

                        192.168.1.1 - WAN
                        10.0.1.1 - LAN (Htpc)
                        10.0.2. 1 - AP multi SSID
                        192.168.1.2 - Failover WAN

                        As much as I would like to put the controller and AP in one network, I don't have available switch at the moment.

                        I would appreciate if you have tweaks and tips to share to make pfsense and U6 work seemlessly

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

                          @magikmark well use the L3 Adoption method that was linked too above.

                          Order a switch.. the little 5 port unifi flex mini is $30..

                          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

                          M 1 Reply Last reply Reply Quote 0
                          • M Offline
                            MagikMark @johnpoz
                            last edited by

                            @johnpoz

                            Thanks. May I ask why it's called level 3 adoption?

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

                              @magikmark because your adopting the AP that resides on a different L3 than your controller.

                              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
                              • NogBadTheBadN Offline
                                NogBadTheBad @MagikMark
                                last edited by NogBadTheBad

                                @magikmark Nope as I mentioned I ditched Unifi a while back.

                                https://community.ui.com/questions/pfSense-DHCP-provision-option/b42003ce-7560-4680-8731-805e59459bfc

                                Andy

                                1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

                                  @magikmark said in Host OverRide for UnFi APs:

                                  Do you have a step by step guide?

                                  The step by step guide is given on the link to the L3 adoption - they even provide a pfsense example for setting the dhcp option 43

                                  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
                                  • stephenw10S Offline
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    Either SSHing into the access point and setting the inform url or setting a host override in pfSense for 'unifi' should work there. I have done both, neither was especially difficult.

                                    Steve

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      MagikMark
                                      last edited by MagikMark

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        MagikMark
                                        last edited by

                                        Guys,

                                        LAN: 10.0.1.1
                                        HTPC: 10.0.1.2
                                        Asus: 10.0.2.1
                                        UniFi: 10.0.3.1

                                        SSH

                                        1. Can't even ssh to the device. I could see U6 in dhcp leases in has an ip of 10.0.3.5. Turned ssh in pfsense. on I can ssh my pfsense box
                                        2. Doesn't respond to ping
                                        3. Firewall Rule all ports open, any protocol, any source and any destination

                                        DNS

                                        1. I have Adguard installed. Is there an effect?

                                        DNS Resolver Entry

                                        1. Host: unifi
                                        2. Domain: HTPC.pfSense.mylocal
                                        3. IP add: 127.0.0.1 or 10.0.1.1 or 10.0.1.2

                                        DHCP Option 43:

                                        1. Set this under Unfi Interface
                                          Number: 43
                                          DCHP Option: 43
                                          Type; String
                                          Value: 01:04:0a:00:01:01 (10.0.1.1)
                                          01:04:7f:00:00:01 (127.0.0.1)

                                        Light still steady white. Can't be discovered by the controller
                                        Maybe I missed something? Perhaps rule?

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

                                          If you connect anything else to the same subnet does it pull a valid dhcp lease?

                                          The AP could be unable to respond for some reason.

                                          Steve

                                          M 1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            MagikMark @stephenw10
                                            last edited by MagikMark

                                            @stephenw10

                                            Yes I used to have Netgear / Asus and working fine. Trying to upgrade to Wif6 enterprise grade. Chose Unfi

                                            I thought maybe some configuration since U6 is fairly new

                                            I have echo reply blocked in floating rules. Dunno if it has some effect

                                            The rest of my Floating rules are:

                                            Blocked Ips from Firehol

                                            I have QOS / limiter running as well

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