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

    PfSense blocking Unifi Updates

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 3 Posters 1.2k 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.
    • M
      Misinthe
      last edited by

      Hello everyone, I am having a very weird issue. How I have set up my home network is, I have PfSense running on a VM, and behind it sits a Unifi Dream Machine Pro, which controls my home network. I noticed that there is a new update for the UDMP but the requests to the ubiquiti server are not going through. I even tried a manually updating the UDMP and it fails as well. The weird part is that I can ping fw-download.ubnt.com from my computer that is behind the UDMP, but I can't ping it from the UDMP itself.

      NollipfSenseN 1 Reply Last reply Reply Quote 0
      • NollipfSenseN
        NollipfSense @Misinthe
        last edited by

        @misinthe When you said you tried manually to update, does that mean you have downloaded the update then tried and fail?

        pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
        pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

        M 1 Reply Last reply Reply Quote 0
        • M
          Misinthe @NollipfSense
          last edited by

          @nollipfsense said in PfSense blocking Unifi Updates:

          @misinthe When you said you tried manually to update, does that mean you have downloaded the update then tried and fail?

          I SSH into the UDMP and did the ubnt-upgrade https://fw-download.ubnt.com/data/udm/d530-udmpro-1.11.0-69dd1244f5e94a8ea72b246822fe8fb2.bin command, I get a "line 54: arithmetic syntax error. File download failed (#161)"

          NollipfSenseN johnpozJ 2 Replies Last reply Reply Quote 0
          • NollipfSenseN
            NollipfSense @Misinthe
            last edited by

            @misinthe If you didn't allow that SSH through the firewall it's not going anywhere.

            pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
            pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

              @misinthe said in PfSense blocking Unifi Updates:

              arithmetic syntax error. File download failed

              I see that error mentioned here
              https://community.ui.com/questions/UDM-Pro-worsening-problems/6c979c0d-40d7-42a9-bec9-8438309e9e7d

              Without digging too deep into that thread, users suggest using curl, and then someone pointed out when using curl it was easy to determine it was dns issues.. Which would make sense.

              Where does the udmp point to for dns? Are you doing any blocking or filtering of dns - say pfblocker? Are you running ips on pfsense?

              I update my controller behind pfsense, and it grabs firmware for my AP, etc. I have had zero issues updating anything.

              but I can't ping it from the UDMP itself.

              So it doesn't resolve to an IP, or it does resolve to correct IP but ping doesn't respond?

              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
                Misinthe @johnpoz
                last edited by Misinthe

                @johnpoz said in PfSense blocking Unifi Updates:

                @misinthe said in PfSense blocking Unifi Updates:

                arithmetic syntax error. File download failed

                I see that error mentioned here
                https://community.ui.com/questions/UDM-Pro-worsening-problems/6c979c0d-40d7-42a9-bec9-8438309e9e7d

                Without digging too deep into that thread, users suggest using curl, and then someone pointed out when using curl it was easy to determine it was dns issues.. Which would make sense.

                Where does the udmp point to for dns? Are you doing any blocking or filtering of dns - say pfblocker? Are you running ips on pfsense?

                I update my controller behind pfsense, and it grabs firmware for my AP, etc. I have had zero issues updating anything.

                but I can't ping it from the UDMP itself.

                So it doesn't resolve to an IP, or it does resolve to correct IP but ping doesn't respond?

                I do have pfBlockerNG set up, I tried adding .ubnt.com to the Whitelist under DNSBL and it didn't help.

                Here is what I get with curl and ping from the UDMP.

                8e288f19-d87a-4d19-9c4d-e8cddf12e6db-image.png

                This is the ping from the computer behind the UDMP.

                4e6e30c0-6d19-4bc0-a51f-bd98bbb5d18a-image.png

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

                  @misinthe and what does the udmp resolve that too? does it?

                  Its says bad address, that would seem to indicate it couldn't resolve it.

                  What do you have the udmp pointing to for dns? can it resolve anything? say you ping www.google.com does that resolve? Or does it say bad address as well?

                  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 1
                  • M
                    Misinthe @johnpoz
                    last edited by

                    @johnpoz said in PfSense blocking Unifi Updates:

                    @misinthe and what does the udmp resolve that too? does it?

                    Its says bad address, that would seem to indicate it couldn't resolve it.

                    What do you have the udmp pointing to for dns? can it resolve anything? say you ping www.google.com does that resolve? Or does it say bad address as well?

                    I don't know how I missed it but I didn't assign the PfSense DNS address to the WAN on the UDMP.... It's working now. Thank you!

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

                      @misinthe said in PfSense blocking Unifi Updates:

                      I didn't assign the PfSense DNS address to the WAN on the UDMP

                      doh ;) hehehe glad you got it sorted.

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