linux-wifi-hotspot icon indicating copy to clipboard operation
linux-wifi-hotspot copied to clipboard

Add options to configure network ttl

Open mxvin opened this issue 1 year ago • 1 comments

some network env sometimes enforcing / expect device to have certain TTL. When network is re-routed/nat, the traffic from tethered device is ttl +1 and make tethered device not connected to upstream network.

something like iptables -w -t mangle -I PREROUTING -i <out net iface> -j TTL --ttl-set 129 or <...> --ttl-inc 1 would do.

should be added and configurable if needed context, If you not familiar of this kind of problem https://forum.openwrt.org/t/iptables-ttl-mangling-doesnt-work-with-bridged-setup/32708

mxvin avatar Jul 04 '23 10:07 mxvin

This would be really useful, I really hope someone adds this!

Yorizuka avatar Dec 29 '23 06:12 Yorizuka