summaryrefslogtreecommitdiffstats
path: root/3modules/tv/iptables.nix
diff options
context:
space:
mode:
Diffstat (limited to '3modules/tv/iptables.nix')
-rw-r--r--3modules/tv/iptables.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/3modules/tv/iptables.nix b/3modules/tv/iptables.nix
index 7b9edd38b..21cf77320 100644
--- a/3modules/tv/iptables.nix
+++ b/3modules/tv/iptables.nix
@@ -76,7 +76,7 @@ let
"-m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT"
"-i lo -j ACCEPT"
]
- ++ map accept-new-tcp cfg.input-internet-accept-new-tcp
+ ++ map accept-new-tcp (unique cfg.input-internet-accept-new-tcp)
++ ["-i retiolum -j Retiolum"]
)}
${concatMapStringsSep "\n" (rule: "-A Retiolum ${rule}") ([]
@@ -88,7 +88,7 @@ let
"-p ipv6-icmp -m icmp6 --icmpv6-type echo-request -j ACCEPT"
];
}."ip${toString iptables-version}tables"
- ++ map accept-new-tcp cfg.input-retiolum-accept-new-tcp
+ ++ map accept-new-tcp (unique cfg.input-retiolum-accept-new-tcp)
++ {
ip4tables = [
"-p tcp -j REJECT --reject-with tcp-reset"