esp32_nat_router icon indicating copy to clipboard operation
esp32_nat_router copied to clipboard

Feature Request: Add TTL mangling support (iptables-like)

Open yamid1981 opened this issue 2 months ago • 0 comments

It would be very useful to have a command similar to Linux iptables: iptables -t mangle -I POSTROUTING -j TTL --ttl-set 65

Use case: some ISPs restrict tethering by checking TTL values. Being able to set a fixed TTL (e.g. 65) on outgoing packets would allow ESP32 NAT Router to be used in more scenarios.

Implementation idea: modify the IP header in the NAT forwarding function to overwrite the TTL field with a user-defined value.

yamid1981 avatar Oct 06 '25 09:10 yamid1981