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

    NUT (or APCUPSD): Connect QNAP NAS as slave

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 3 Posters 10.6k 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
      michaelschefczyk
      last edited by

      Dear All,

      I operate two parallel pfSense machines on two separate power supplies. Each is secured by an APC UPS. However, additional devices are also connected to the APC UPS. In particular, I would like to connect a pfSense machine with a QNAP NAS in such a way that the APC USB cable is connected to one of the devices (would perfer the pfSense, but I am open to do it the other way round, if required) but both will power down upon a power failure during the timespan the UPS can bridge.

      Having read Jim Pringle's last post on NUT (topic=53308), I have tried various firewall rules along with other settings which seemed to make sense to me. However, I did not get a setup to work. I sense that various persons do not get such situation solved also (e.g., topic=72721, in German topic=68746).

      Could someone please be so kind as to post a list of settings that are likely to work - and explicitly point out which device is master and which is slave in the example settings?

      Thank you very much!

      Michael Schefczyk

      1 Reply Last reply Reply Quote 0
      • M
        michaelschefczyk
        last edited by

        Dear All,

        the following solution does seem to work:

        • install NUT package at pfsense
        • create NAT rule:

        Firewall: NAT: Port Forward
        If:  LAN
        Proto:  TCP
        Src. addr:  *
        Scr. ports:  *
        Dest. addr:  (IP of pfSense)
        Dest. ports:  3493
        NAT IP:  127.0.0.1
        NAT Ports:  3493

        • in NUT package add remote access user "admin" with password "123456" (values fixed by QNAP)
        • in NUT package under local UPS settings name UPS "qnapups" (branding thanks to value fixed by QNAP) and pick settings so that pfSense recognizes your locally conneted UPS
        • in QNAP device set "Network-UPS-Slave" and enter IP of pfSense - UPS will show up.

        Michael Schefczyk

        1 Reply Last reply Reply Quote 1
        • C
          Cino
          last edited by

          Thank you! This worked perfectly for me. Now to find the setting/config file on the QNAP NAS so I can change the UPS name to something other than "qnapups"

          1 Reply Last reply Reply Quote 0
          • mike69M
            mike69 Rebel Alliance
            last edited by mike69

            Uuuh, you exhume an old thread. :)

            @Cino said in NUT (or APCUPSD): Connect QNAP NAS as slave:

            Now to find the setting/config file on the QNAP NAS so I can change the UPS name to something other than "qnapups"

            After an Update, QNAP overwrite the custom configs. It`s better to use the default values of QNAP.

            DG FTTH 400/200
            Supermicro A2SDi-4C-HLN4F with pfSense 2.7.2

            C 1 Reply Last reply Reply Quote 0
            • C
              Cino @mike69
              last edited by

              @mike69 said in NUT (or APCUPSD): Connect QNAP NAS as slave:

              Uuuh, you exhume an old thread. :)

              @Cino said in NUT (or APCUPSD): Connect QNAP NAS as slave:

              Now to find the setting/config file on the QNAP NAS so I can change the UPS name to something other than "qnapups"

              After an Update, QNAP overwrite the custom configs. It`s better to use the default values of QNAP.

              I try not to reply to old/stale threads but being this one was a how-to. It made sense too.

              You are right about the settings would get overwritten after an update. My OCD doesn't like the name tho.. lol. Maybe someday QNAP will allow that setting to be user-configurable.

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