summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_policy.txlate
blob: 66788a765606e66172c4afa38de1aad1fea3a1c2 (plain)
1
2
3
4
5
iptables-translate -A INPUT -m policy --pol ipsec --dir in
nft add rule ip filter INPUT meta secpath exists counter

iptables-translate -A INPUT -m policy --pol none --dir in
nft add rule ip filter INPUT meta secpath missing counter