I'm planning a migration to nftables.
in my current iptables rules, I have the following rule:
Code: Select all
iptables -t mangle -A PREROUTING -i eth0 -d 239.255.255.250 -j TTL --ttl-inc 1
I spent many hours to try to build an equivalent rule with nftables, but so far I haven't found any solution.
I may have found how to SET the ttl value using a rule like this:
Code: Select all
nft add rule inet filter input ip ttl set 123
1- I'm not sure it will work
2- it doesn't do exactly what I need to do, which is INCREMENT the TTL by 1
Can someone help me ?