l styx.r: allow smokeping from more interfaces

This commit is contained in:
lassulus 2023-07-23 23:03:57 +02:00
parent 3db106bbd3
commit 0af9994329

View File

@ -31,9 +31,9 @@ with import <stockholm/lib>;
krebs.build.host = config.krebs.hosts.styx;
krebs.iptables.tables.filter.INPUT.rules = [
{ predicate = "-p tcp --dport ${toString config.services.smokeping.port}"; target = "ACCEPT"; }
];
networking.firewall.interfaces.int0.allowedTCPPorts = [ config.services.smokeping.port ];
networking.firewall.interfaces.retiolum.allowedTCPPorts = [ config.services.smokeping.port ];
networking.firewall.interfaces.wiregrill.allowedTCPPorts = [ config.services.smokeping.port ];
krebs.power-action.enable = mkForce false;
services.smokeping = {