From b88520b9f6c0dc02eb5fff8db5e911c79227437a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Thu, 27 Jun 2024 11:10:04 +0200 Subject: [PATCH] rin: Add localhost to docker firewall exceptions --- nixos-config/hosts/rin/hardware-policy.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos-config/hosts/rin/hardware-policy.nix b/nixos-config/hosts/rin/hardware-policy.nix index 25aeee96..2ab0e9ef 100644 --- a/nixos-config/hosts/rin/hardware-policy.nix +++ b/nixos-config/hosts/rin/hardware-policy.nix @@ -115,7 +115,7 @@ addresses = lib.concatMapStringsSep "," (pool: pool.base) dockerAddressPools; in '' - iptables -A INPUT -s ${addresses} -d ${addresses} -j ACCEPT + iptables -A INPUT -s ${addresses} -d ${addresses},172.17.0.1 -j ACCEPT ''; };