echo "net.ipv4.ip_default_ttl=65" > /etc/sysctl.conf
sysctl -p
echo "chain mangle_postrouting_ttl65 {
type filter hook postrouting priority 300; policy accept;
counter ip ttl set 65
}
chain mangle_prerouting_ttl65 {
type filter hook prerouting priority 300; policy accept;
counter ip ttl set 65
}" > /etc/nftables.d/10-custom-filter-chains.nft
service firewall restart
Social Plugin