XCP-ng firewall
-
I have a UPS connected to XCP-ng via USB. I have a backup server I need to setup to monitor the UPS for shutdown as a secondary NUT host.
XCP-ng blocks NUT server communication. What would be the best way to edit iptables (or nftables, I forget which XCP-ng uses) to allow the NUT secondary server to communicate with the primary NUT service running on XCP-ng?
-
@Byte0 Hi!
/etc/xapi.d/plugins/firewall-port {open|close} port protocol
should do the trick. Beware we advised against modifying this config for obvious security consideration.
So know what you're doing