Hi. Anyone can help me. What is equivalent firewall rule on my mt2500(openwrt21).? thanks in advance
/ip firewall mangle add chain=postrouting out-interface=BR-LAN action=change-ttl ttl=1
Hi. Anyone can help me. What is equivalent firewall rule on my mt2500(openwrt21).? thanks in advance
/ip firewall mangle add chain=postrouting out-interface=BR-LAN action=change-ttl ttl=1
I would assume it should be
iptables -t mangle -A POSTROUTING -o br-lan -j TTL --ttl-set 1
thank you. It's working.
Hi admon. for higher version of openwrt with nftables? ty
Did not try, but maybe it works:
nft add table ip mangle
nft add chain ip mangle postrouting { type route hook postrouting priority mangle \; }
nft add rule ip mangle postrouting oif "br-lan" ttl set 1