Currently, the config file at /etc/nut/upsd.conf just contains the one line "LISTEN 0.0.0.0", which makes the UPS service only listen on legacy IPv4.
I am running NUT 2.8.2. It looks like NUT 2.8.1 and above also support the statement "LISTEN *" (see here ) which will listen on both 0.0.0.0 and [::] so both IPv4 and IPv6 clients will be able to connect.
To still support the older NUT versions 2.8.0 and 2.7.4 which can still be selected from the version dropdown, it should also be possible to just add both listen statements ("LISTEN 0.0.0.0" and "LISTEN ::") to that same file.
I have not found a GUI settings toggle to enable IPv6 so I had to manually put "LISTEN *" into the config file using the Configuration Editor and restart the service.
Can this be changed for future versions so that IPv6 support is enabled by default? Should be enough to modify the default upsd.conf config file to do that.
Currently, the config file at /etc/nut/upsd.conf just contains the one line "LISTEN 0.0.0.0", which makes the UPS service only listen on legacy IPv4.
I am running NUT 2.8.2. It looks like NUT 2.8.1 and above also support the statement "LISTEN *" (see here ) which will listen on both 0.0.0.0 and [::] so both IPv4 and IPv6 clients will be able to connect.
To still support the older NUT versions 2.8.0 and 2.7.4 which can still be selected from the version dropdown, it should also be possible to just add both listen statements ("LISTEN 0.0.0.0" and "LISTEN ::") to that same file.
I have not found a GUI settings toggle to enable IPv6 so I had to manually put "LISTEN *" into the config file using the Configuration Editor and restart the service.
Can this be changed for future versions so that IPv6 support is enabled by default? Should be enough to modify the default upsd.conf config file to do that.