Bekijk de volledige versie : How to increasing TTL?
Hi all,
I not found how to increase TTL of wl-700ge. Please help me.
Thanks
AFAIK, it can't be done from the web interface. You'll have to install the custom firmware and run the following command from rc.local:
echo 128 > /proc/sys/net/ipv4/ip_default_ttl *
- K.C.
It's work, thanks. But I have to mod TTL of incoming packets (my ISP set TTL=1)
It's work, thanks. But I have to mod TTL of incoming packets (my ISP set TTL=1)
iptables can do this. See:
http://security.maruhn.com/iptables-tutorial/x10539.html
for a good start. You can insert iptables rules in rc.local. Make sure they are inserted every time rc.local is called.
- K.C.
# insmod ipt_TTL.o
Using ipt_TTL.o
#
# insmod ipt_ttl.o
Using ipt_ttl.o
#
# iptables -t mangle -A PREROUTING -i eth0 -j TTL --ttl-inc 1
iptables v1.2.7a: can't initialize iptables table `mangle': Table does not exist
(do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
I try with and without insmods. ipt_TTL and ipt_ttl are from http://wl500g.info/showthread.php?t=2021. May be they are not compiled for wl-700ge.
Where is default folder for rc.local, I found it in /shares/MYVOLUME1, but at boot /shares/MYVOLUME1/rc.local is not runned.
I use 1046_kc_02a.