• pfSense -> pfSense NUT connection issues

    26
    0 Votes
    26 Posts
    7k Views
    dennypageD
    @AngryAnt said in pfSense -> pfSense NUT connection issues: I had explicited the firewall allow rules to the NUT port only Yes, that is appropriate. The allow example really should have had a destination port like so: [image: 1748973560467-screenshot-2025-06-03-at-10.56.00-resized.png]
  • 0 Votes
    5 Posts
    2k Views
    J
    @dennypage I added back in the listen directive and removed the port forward. Seems to work well also. Not sure why my arp table got mussed, but I guess that can happen.
  • NUT + CPS EC650LCD not working

    7
    0 Votes
    7 Posts
    3k Views
    B
    Thanks, all! Upgrading to the latest pfSense Beta fixed it!
  • Linefeed in pfSense email notifications (with Network UPS Tools)

    Moved
    10
    0 Votes
    10 Posts
    5k Views
    GertjanG
    @rdibley said in Linefeed in pfSense email notifications (with Network UPS Tools): So one more question: if most people don't use the Advanced section (and the users.conf is blank), how does a secondary system connect to the primary? Is it that most people don't define a user/password for monitoring, but that the primary is just open to any secondary system that might want to connect? I'm using it [image: 1738134876715-b852fa0b-7f4c-4461-8c73-3867487db57f-image.png] The third entry is for my Synology NAS : And the NAS side : [image: 1738134981361-c67da02f-ce7a-456c-a7e1-fede22ed4b6b-image.png] and done. I've also installed "Windows NUT Client" on two PC's nearby. Example : PC 1 with user name "pcrecep1" and password "secret1" : [image: 1738135091751-e41ec81d-1698-431f-98f9-17e142c93132-image.png] Works fine also. So I've 4 devices protected with one big 1000 VA APC UPS, where pfSense is the NUT 'server' as it has a USB cabled UPS hooked up to it, and now 4 devices are controlled by this UPS instead of one.
  • NUT upscmd ERR ACCESS-DENIED

    1
    0 Votes
    1 Posts
    826 Views
    No one has replied
  • Manage two UPS

    7
    0 Votes
    7 Posts
    3k Views
    Z
    @dennypage I will go for your suggested solution: UPS 1: pfSense as NUT server and the rest as NUT clients UPS 2: one system attached to the UPS as the NUT server and the others as NUT clients Since I don't have enough knowledge of NUT I guess I will be back several time to this forum. Thanks for you gudelines and Merry Christmas !!!
  • How do I connect the UPS to pfsense? If it is possible ?

    23
    0 Votes
    23 Posts
    7k Views
    dennypageD
    @firefox Glad you got it working
  • ONLINE LOW BATTERY message

    29
    0 Votes
    29 Posts
    11k Views
    dennypageD
    @netboy Glad you got it sorted.
  • Apcupsd: Battery age 23 Years 9 Months 8 Days?

    4
    1
    0 Votes
    4 Posts
    2k Views
    D
    @jrey: Very helpful! Thank you very much!
  • Nut command to shutdown pfsense after specified amount of time

    Moved
    18
    0 Votes
    18 Posts
    8k Views
    dennypageD
    Note that these are two quite different questions: Once the UPS declares a low battery, does the UPS have enough battery remaining to cover the time required for the NUT primary, and potentially secondaries, to complete their shutdowns? This is potentially several minutes. After being instructed to cut the power by the NUT primary, does the UPS wait long enough for the NUT primary, and potentially secondaries, to complete their shutdowns before turning off the power? This is usually 20-60 seconds.
  • apcupsd COMMLOST using pcnet

    Moved
    6
    3
    0 Votes
    6 Posts
    5k Views
    C
    @DominikHoffmann Actually, the key is to read config documentation of the NMC. As mentioned above, in your NMC web gui you need to go to Configuration>Shutdown and select which user will be used on pfsense to establish connectivity. Then, you need to setup the passphrase, which is different from the password you set for that particular user in NMC. Make sure the passphrase is at least 15 characters long as mentioned in config doc. Then you go back to APCUPSD in pfsense and select pcnet driver and then under device ipadd:(user selected in above step):(auth passphrase chosen in above step) You don't have to specify default port unless you have changed that. BTW, this worked on APC NMC2 card with firmware 07.1(ID17). This is the one labeled with SchneiderElectric instead of APC and mine is from 2016/2015. Good Luck
  • Would ignorelb work on socomec double on-line conversion UPS

    15
    0 Votes
    15 Posts
    5k Views
    dennypageD
    @chewie said in Would ignorelb work on socomec double on-line conversion UPS: @dennypage I apologize, this is what i did... upsrw -s ups.delay.shutdown =120 and immediately the delay shutdown was set to 120 without me restarting nut with the circular arrow on the top right corner of pfsense. But the moment i hit that arrow the delay shutdown goes back to its original value of 30. Rebooting pfsense would still show the value at 30. Apologies for the delay, I've been busy/offline. So I expect what is happening is that the NUT driver is resetting the shutdown delay on start, even though you have not specified a value. Lots of little quirks like this in NUT drivers. So yes, I would recommend setting the offdelay parameter in the Extra Arguments to driver section. You can confirm that it is correctly setting the value in the UPS by using the upsrw command to read from the UPS after restarting NUT.
  • Just to inform that APC model Back-UPS BX 1500BI-BR works perfectly

    2
    2 Votes
    2 Posts
    2k Views
    M
    Just to add that I was able to set the following settings in this APC, by: Extra Arguments to driver (optional): offdelay=60 ondelay=180 waitbeforereconnect=30 Note: waitbeforereconnect=30 is important since the driver sometimes loses connectivity with NUT. Additional configuration lines for ups.conf maxretry=3 retrydelay=10 Shell: Check the admin password: (You don't need to set an admin user in upsd.users file), the password changes, so you need to check every time you are going to make a change. cat /usr/local/etc/nut/upsd.users Checking defaults: upsrw -l ups Changing values: upsrw -s battery.charge.low ups Username (root): admin Password: Enter new value for battery.charge.low: 50 OK upsrw -s battery.runtime.low ups Username (root): admin Password: Enter new value for battery.runtime.low: 1500 OK If you receive the following error after boot, with or without user=root in ups.conf : UPS [ups]: connect failed: Connection failure: Connection refused Then, install shellcmd and use the following script as shellcmd: #!/bin/sh sleep 60 /usr/local/sbin/pfSsh.php playback svc stop nut sleep 20 /usr/local/sbin/pfSsh.php playback svc start nut sleep 5 exit 1 done
  • Configuring NUT help?

    4
    0 Votes
    4 Posts
    1k Views
    dennypageD
    @beardedguy You are welcome.
  • PFSense + NUT + Old tripplite UPS issue

    10
    0 Votes
    10 Posts
    4k Views
    dennypageD
    @stompro Fair enough. I'm actually the pfSense NUT maintainer, but I do understand your caution. If you want to wait for official builds that's totally understandable. Regarding the size, yes, the executable I posted has debug symbols, whereas the production one does not. Unfortunately the standard development tools are not present on pfSense so you cannot run the strip and size commands. [image: 1720630137029-screenshot-2024-07-10-at-09.46.53.png] FWIW, the sha256sum on the executable as posted is d4e4563ca03ed92ef780c0799cd1e29c3d53638d738fb74e47b196c8540d44cf If you want to build it yourself, you will need to set up a FreeBSD 14 system and then install the FreeBSD ports package to do the build from.
  • Your UPS advise

    31
    0 Votes
    31 Posts
    8k Views
    w0wW
    @MaxK-0 You may be right, but I've seen many examples of how Li-ion and LiFePO4 batteries catch fire. This can happen despite all the protection classes. The fire protection class is just the time before the fire starts to spread; it doesn't mean they don't burn at all. Yes, maybe 99.9% of them are safe... I don't know, it's just my personal paranoia. As for lead acid batteries, I don't know what you have to do to set them on fire. I've only seen cases online involving hydrogen emission and subsequent explosion, more like a pop, that blew the lid off. But these were car batteries with open caps for topping up, and there was always an ignition source nearby when it happened. I've never heard of regular UPS sealed batteries catching fire or exploding. They can crack and melt, but not burn. That's why no one takes such safety measures as it usually takes for Li-ion chemistry. Of course, I'm not talking about cases where fires occur due to related factors, such as charger fires and the like. I am also speaking solely for myself, I am not a fan of any particular company, can't say that everything is perfect with any specific one... Our world is imperfect, unfortunately.
  • pfSense - Nut - Synology - looking for help.

    5
    0 Votes
    5 Posts
    2k Views
    B
    @dennypage Thanks for the reply and associated info. Working on assimilating it. Help much appreciated.
  • SNMP UPS question

    Moved
    12
    0 Votes
    12 Posts
    4k Views
    dennypageD
    @Laxarus said in SNMP UPS question: My NUT clients are not configured to send commands to UPS to shut it down. I configure the UPS shutdown sequence in the UPS config itself and it is shutting its outputs and at last itself in the correct order. I am curious though, why would you want to send a shutdown command to UPS itself from the clients? Does it not have a proper configuration to manage that? "Client" is ambiguous. Did you mean NUT client, or UPS (SNMP) client? Only one SNMP entity should be configured to instruct the UPS to shut down. The other hosts would be set up as NUT clients of the main NUT server. As to why you would want to send a shutdown command, this is because most UPSs do not actually shut down on their own, and NUT is dependent upon the power actually being cut. I haven't tested NMC3 behavior in that regard, so I cannot make a dfinitive statement.
  • NUT dashboard widget

    43
    0 Votes
    43 Posts
    16k Views
    F
    @dennypage Thanks for checking. I appreciate all the support you have given. Look forward to the new and improved NUT.
  • 1 Votes
    8 Posts
    8k Views
    dennypageD
    @diegus83 Strange that it would show up in upsrw, but not allow change. Is it SNMP perhaps?
Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.