See this post to create ttl 65 rule on nftables
chain mangle_postrouting_ttl65 {
type filter hook postrouting priority 300; policy accept;
oifname "eth1" counter ip ttl set 65
}
chain mangle_prerouting_ttl65 {
type filter hook prerouting priority 300; policy accept;
iifname "eth1" counter ip ttl set 65
}
Is important in rule that the interface much how the modem is detected, on my case is "eth1" but it could be eth2 3 or usb 0 1 2 3
1 Like