O
Ozzmodiar
Guest
I've been trying to get this to work for hours! I just want to change the outgoing packet TTL on the USB0 WAN interface. The "extend TTL" option apparently does exactly that but it's not doing what it's supposed to do (I've read in a few places it doesn't work and never has...not sure how much truth is in that)
I've tried this:
iptables -t mangle -I usb0 POSTROUTING -o -j TTL --ttl-set 65
but I can't seem to get the syntax correct, any help would be greatly appreciated!
I've made this work with DD-WRT in the past with this command:
iptables -t mangle -I POSTROUTING -o `get_wanface` -j TTL --ttl-set 65
but I assume the 'get_wanface' is proprietary to the DD-WRT kernel.
Thanks!
I've tried this:
iptables -t mangle -I usb0 POSTROUTING -o -j TTL --ttl-set 65
but I can't seem to get the syntax correct, any help would be greatly appreciated!
I've made this work with DD-WRT in the past with this command:
iptables -t mangle -I POSTROUTING -o `get_wanface` -j TTL --ttl-set 65
but I assume the 'get_wanface' is proprietary to the DD-WRT kernel.
Thanks!
Last edited by a moderator: