From 57f844782fa86660ce16b79b485ec34729bce4f7 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Mon, 16 Sep 2013 18:27:37 +0200 Subject: Update chain creation format. type keyword is now mandatory when creating a new chain. This patc halso implement the change required following the usage of human notation in hook. It also suppressed non currently supported mangle chains. Signed-off-by: Eric Leblond Signed-off-by: Pablo Neira Ayuso --- files/nftables/ipv4-nat | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 files/nftables/ipv4-nat (limited to 'files/nftables/ipv4-nat') diff --git a/files/nftables/ipv4-nat b/files/nftables/ipv4-nat new file mode 100644 index 00000000..99d69514 --- /dev/null +++ b/files/nftables/ipv4-nat @@ -0,0 +1,6 @@ +#! nft -f + +table nat { + chain prerouting { type nat hook prerouting priority -150; } + chain postrouting { type nat hook postrouting priority -150; } +} -- cgit v1.2.3