[Nut-upsuser] upsc does not dig connection from other hosts

Arnaud Quette aquette.dev at gmail.com
Mon Oct 13 20:22:33 UTC 2008


Hi Hans,

2008/10/13 Han Boetes <han at mijncomputer.nl>:
> I got a bunch of configfiles that look like this:
> mgmt-dev:/etc/nut# grep -v 'niets' *
> ups.conf:[ups]
> ups.conf:driver=newhidups
> ups.conf:port=auto
> upsd.conf:ACL all 0.0.0.0/0
> upsd.conf:ACL localhost 127.0.0.1/32
> upsd.conf:ACL remote 192.168.110.0/24
> upsd.conf:ACCEPT remote
> upsd.conf:ACCEPT localhost
> ...
try putting both ACCEPT directives on the same line, ie:
ACCEPT remote localhost

and reload upsd (upsd -c reload)

I'm now unsure about the statement in the upsd.conf manpage:
 You may specify multiple ACL names on the ACCEPT line,
* and you may have multiple ACCEPT lines.*

gotta dig this... tomorrow...

-- Arnaud



More information about the Nut-upsuser mailing list