diff options
author | Phil Sutter <phil@nwl.cc> | 2019-07-04 12:22:45 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-07-04 14:36:18 +0200 |
commit | 12116390acb3b924393fca6ed45101f305b4d35c (patch) | |
tree | 0da2854dbfc2d9749e31a80a19c85ce46c5d918d /files/nftables/inet-nat.nft | |
parent | 226a0e072d5c1edeb53cb61b959b011168c5c29a (diff) |
files: Add inet family nat config
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'files/nftables/inet-nat.nft')
-rwxr-xr-x | files/nftables/inet-nat.nft | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/files/nftables/inet-nat.nft b/files/nftables/inet-nat.nft new file mode 100755 index 00000000..52fcdb54 --- /dev/null +++ b/files/nftables/inet-nat.nft @@ -0,0 +1,8 @@ +#!@sbindir@nft -f + +table inet nat { + chain prerouting { type nat hook prerouting priority -100; } + chain input { type nat hook input priority 100; } + chain output { type nat hook output priority -100; } + chain postrouting { type nat hook postrouting priority 100; } +} |