Post by badboy1985ro on Jun 21, 2008 20:45:38 GMT 7
Thanks omega an apleman I recompiled the kernel and now it works. One more thing. Whe i configured the n1200 kernel i selected "packet mangle" option. I used the Ipt_ttl.ko file and loaded into the nas using insmod. everithing was fine. the module was laoded. i check it with lsmod. then i used the command: iptables -A PREROUTING -t mangle -d wan_ip -j TTL --ttl-set 21 for ttl modify. iptables -A PREROUTING -t mangle -d 192.168.2.254 -j TTL --ttl-set 21 iptables v1.3.5: Unknown arg `--ttl-set' Try `iptables -h' or 'iptables --help' for more information.i get the error
what other modules do i need to load for modifi tt?
Post by appleman1234 on Jun 23, 2008 3:01:46 GMT 7
You may want to run patch-o-matic or patch-o-matic-ng on the kernel your building or update your version of iptables like omega says. The ttl part comes as a module which the default thecus version may not have.
Post by appleman1234 on Jun 24, 2008 16:43:47 GMT 7
I dug a little deeper, the problem is that /lib/iptables/libipt_TTL.so doesn't exist in /initrd/usr/local/lib/iptables/ .
You can fix this two ways, one you can obtain a libipt_TTL.so for ppc iptables 1.3.5 and put it or symlink to the directory, or make a thecus module which does that or two you can update iptables to the latest ppc debian binaries and files and make both the libipt_TTL.so and the new iptables in a thecus module and install it.