summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_hl.txlate
blob: 17563938fd89575221ee26ca5d362580e2cbebaf (plain)
1
2
3
4
5
ip6tables-translate -t nat -A postrouting -m hl --hl-gt 3
nft add rule ip6 nat postrouting ip6 hoplimit gt 3 counter

ip6tables-translate -t nat -A postrouting -m hl ! --hl-eq 3
nft add rule ip6 nat postrouting ip6 hoplimit != 3 counter