[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables - no TTL target?

* Mart Frauenlob wrote:

> Hello,
> i'm running a debian sarge with a self compiled  2.4.27 (debian) kernel 
> as firewall / router.
> What i'm trying to do is to increase the TTL of packets leaving a 
> certain subnet by one.
> Reading the iptables man page this should be able with something like this:
> eris:~# iptables -I FORWARD -i eth1 -o eth0 -s -j TTL 
> --ttl-inc 1
> iptables: No chain/target/match by that name
> or:
> eris:~# iptables -t mangle -A PREROUTING -i eth1 -s -j 
> TTL --ttl-inc 1
> iptables: No chain/target/match by that name
> eris:~# iptables -V
> iptables v1.2.11
> I'm confused about that error.

These errors are generated when iptables doesn't have the required
module loaded (or the kernel doesn't have direct support for it, if you
chose to compile the code into the kernel).

Do you have module table_mangle loaded ?

modprobe table_mangle


Reply to: