diff options
Diffstat (limited to 'extensions/libip6t_hl.txlate')
-rw-r--r-- | extensions/libip6t_hl.txlate | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/libip6t_hl.txlate b/extensions/libip6t_hl.txlate new file mode 100644 index 00000000..17563938 --- /dev/null +++ b/extensions/libip6t_hl.txlate @@ -0,0 +1,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 |