1
21.7 Legacy Series / Configuring NUT
« on: October 16, 2021, 01:08:54 pm »
I've been fighting with trying to get NUT up and running on OPNsense for... a while.
Current (desired) setup:
OPNsense Router (netclient SLAVE)
Raspi4 (DNS Filter SLAVE)
Raspi3b+ (UPS Monitor MASTER)
APC BackUPS Pro 1500s
Here's my issue.
What I think I know...
I think the following is correct:
General Settings Tab
Enable Nut - - - ENABLED
Service Mode - - - NETCLIENT
Name - - - *doesnt matter?*
Listen Address - - - IP of NUT server
UPS Type Tab
Netclient option
Enable - - - ENABLED
IP Address - - - IP of NUT server
Username - - - NUT user (as described in the various nut conf files on the NUT master)
Password - - - NUT user password (as described in the various nut conf files on the NUT master)
This seems logical, straightforward, and simple. But it doesn't work. Does the following tab have anything to do with any of this or should this simply be left at default (password) for both fields?
Nut Account Settings (accessed by clicking on general settings tab and selecting this option in the menu)
Admin Password
Monitor Password
Admin Password? Monitor Password?
Wut? That tab makes absolutely no sense to me.
If I leave NUT enabled, this is the endless log output I receive in OPNsense:
UPS [░░░░░░░@░░░░░░░]: connect failed: Connection failure: Connection refused
I'm out of ideas.
Current (desired) setup:
OPNsense Router (netclient SLAVE)
Raspi4 (DNS Filter SLAVE)
Raspi3b+ (UPS Monitor MASTER)
APC BackUPS Pro 1500s
Here's my issue.
What I think I know...
I think the following is correct:
General Settings Tab
Enable Nut - - - ENABLED
Service Mode - - - NETCLIENT
Name - - - *doesnt matter?*
Listen Address - - - IP of NUT server
UPS Type Tab
Netclient option
Enable - - - ENABLED
IP Address - - - IP of NUT server
Username - - - NUT user (as described in the various nut conf files on the NUT master)
Password - - - NUT user password (as described in the various nut conf files on the NUT master)
This seems logical, straightforward, and simple. But it doesn't work. Does the following tab have anything to do with any of this or should this simply be left at default (password) for both fields?
Nut Account Settings (accessed by clicking on general settings tab and selecting this option in the menu)
Admin Password
Monitor Password
Admin Password? Monitor Password?
Wut? That tab makes absolutely no sense to me.
If I leave NUT enabled, this is the endless log output I receive in OPNsense:
UPS [░░░░░░░@░░░░░░░]: connect failed: Connection failure: Connection refused
I'm out of ideas.