summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_hl.txlate
blob: 9ff0df9c687aea2264738a371830d49bce6e3999 (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'