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
      last edited by

      I just got a new U6 LR and this is the my first time working with this AP.

      The Unifi controller is located in my LAN (10.0.1.1:8443) and my U6 is located in another interface "Wireless" (10.0.2.1). It seems the AP can't be adopted because it is located in another interface and network. The advise is to create a host overdrive that will allow the controller to search APs in another interface or network.

      Since this is my first time, can someone help me create a host overdrive that will exactly do this?

      Thanks a lot

      M NogBadTheBadN JKnottJ 3 Replies Last reply Reply Quote 0
      • M Away
        mcury Rebel Alliance @MagikMark
        last edited by

        Well, I adopted my device like this:

        SSH into the ap:
        set-inform http://controller_ip:8080/inform

        default user and password
        ubnt ubnt

        dead on arrival, nowhere to be found.

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

          @magikmark Not sure Host OverRide is the correct term.

          Don't you need to do an additional DHCP Option ?

          https://help.ui.com/hc/en-us/articles/360012097513-UniFi-UDM-USG-How-to-Configure-Custom-DHCP-Options

          I've moved on from Unifi.

          Andy

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

          M 1 Reply Last reply Reply Quote 0
          • 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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.