summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_ttl.txlate
blob: 3d5d6a70da55380f875d1dafa598d71cefdace72 (plain)
1
2
3
4
5
iptables-translate -A INPUT -m ttl --ttl-eq 3 -j ACCEPT
nft add rule ip filter INPUT ip ttl 3 counter accept

iptables-translate -A INPUT -m ttl --ttl-gt 5 -j ACCEPT
nft add rule ip filter INPUT ip ttl gt 5 counter accept