summaryrefslogtreecommitdiffstats
path: root/files/examples/ipv4-nat.nft
blob: fd3bb40cfcb8aa05eee737c64b92c897482773cd (plain)
1
2
3
4
5
6
7
8
#!/usr/sbin/nft -f

table 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; }
}