Page 1 of 1

How would I use OpenWRT

Posted: Tue Mar 11, 2014 6:27 am
by merkutinaa
How do I change TTL on router? I have a Netgear WPN824 v3 router. I'm trying to re-write the TTL for each TCP packet to 128. Any ideas on how to do this? How would I use OpenWRT? Would I be able to reinstall the original firmware later? I don't know that much about networking. What I'm trying to do is keep the network from detecting the router.
________________________
fun video ~ video clips ~ cute video

Re: How would I use OpenWRT

Posted: Wed Mar 26, 2014 12:36 am
by gvalkov
I use this on OpenWRT. Works on Gargoyle too. Good luck!

Code: Select all

opkg install iptables-mod-ipopt kmod-ipt-ipopt
iptables -t mangle -I OUTPUT 1 -j TTL --ttl-set 128
You may also use the postrouting chain:

Code: Select all

iptables -t mangle -I POSTROUTING 1 -j TTL --ttl-set 128
Switching between OpenWRT and Gargoyle is easy, just go to System, Update Firmware and use the sysupgrade image. I'd choose not to keep any settings if I change from one to another.