Hello,

I need my Bering-uClibc router to be able to change the TTL value of
incoming packets so that I can further add additional routers along
the path to each client PC. Currently, the ISP I'm using sends me all
packets with a TTL value = 1. Therefore, anything more than a single
PC behind the cable modem will receive packets with a value of 0 and
they get automatically discarded.

One solution to fix this is to use iptables. I can set the following
command without any problem on my conventional Mandriva linux box:

iptables -t mangle -A PREROUTING -i eth0 -j TTL --ttl-set 10

..to set the TTL value to 10.

However, on the LEAF box I get the error:
iptables: Unknown error -1

Now I don't even know how to diagnose the problem further. Before you
ask, I've already added the ipt_ttl module but I get "(unused)" to
appear in front of it when I type 'lsmod' - not sure if this is
normal.

Any suggestions?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to