software:nut:opnsenseclient
This is an old revision of the document!
opnSense as a NUT Client
There is some pretty good documentation at https://docs.opnsense.org/manual/how-tos/nut.html, though a few things caught me. I'm writing this up as a short recipe; see that documentation for the real way to do things.
- Install the NUT client by going to System | Firmware and installing os-nut
- Configure at Services | Nut | Configuration (you may need to hit a different page to update your menu, I click on Lobby first)
- General Settings
- Enable Nut
- Service Mode: netclient
- Name: the name on the nut server of the ups. Do not put the server name here, just the stuff before the @
- Listen Address: The IP on the router that has the interface you want to listen on. Probably your LAN IP.
- Click down arrow on UPS Type and select Netclient
- Enable netclient
- IP Address: IP of the NUT server
- Port: Port the NUT server is listening on
- Username: the user name you have defined on the NUT server
- Password: the password you have defined on the NUT server
- Click Apply
- Click Diagnostics and wait up to 20 seconds. If everything is correct, you will see a list of variables from the UPS (as given by the NUT server).
software/nut/opnsenseclient.1744675627.txt.gz · Last modified: 2025/04/14 19:07 by rodolico