From 0af999432992e98b9541afdf28b5a6ba5846ad71 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 23 Jul 2023 23:03:57 +0200 Subject: l styx.r: allow smokeping from more interfaces --- lass/1systems/styx/config.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lass/1systems') diff --git a/lass/1systems/styx/config.nix b/lass/1systems/styx/config.nix index 93d60727e..51016926f 100644 --- a/lass/1systems/styx/config.nix +++ b/lass/1systems/styx/config.nix @@ -31,9 +31,9 @@ with import ; 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 = { -- cgit v1.2.3