From 4ea7cee328053441c5b1377bec64af719addbb53 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Thu, 19 Aug 2021 21:37:10 +0200 Subject: [PATCH] updated nftables rules template --- states/nftables/nftables.conf.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/states/nftables/nftables.conf.j2 b/states/nftables/nftables.conf.j2 index a4577c0..bc1ac44 100644 --- a/states/nftables/nftables.conf.j2 +++ b/states/nftables/nftables.conf.j2 @@ -45,4 +45,6 @@ add rule ip6 filter6 input ip6 saddr {{ value.ip }}/{{ value.mask }} ct state es {%- for key, value in net.public_ports.items() %} add rule ip6 filter6 input {{ value.proto }} dport {{ value.port }} ct state established,new counter accept {%- endfor %} -#add rule ip6 filter6 input counter log \ No newline at end of file +#add rule ip6 filter6 input counter log + +## Endline is mandatory