On Thu, 6 Apr 2006, Angel Tsankov wrote:
> >> >> > How can I setup an SL 4.2 to write 1 to /proc/sys/net/ipv4/ip_forward instead of 0 at boot time?
> >> >>
> >> >> It turns out that I need to apply patch-o-matic to the kernel source and recompile.
> >> >> Where can I find SL sources?
> >> >>
> >> >
> >> > I do not think you need to do patch-o-matic to do ip_forward. If you need
> >> > the kernel sources they are at
> >> >
> >> > ftp://ftp.scientificlinux.org/linux/scientific/4.x/SRPMS/vendor/errata/
> >>
> >> In fact, the URL is
> >>
> >> ftp://ftp.scientificlinux.org/linux/scientific/42/SRPMS/vendor/errata/
> >>
> >> I downloaded the kernel sources and I'm going to patch and recompile them to fix the bug with "iptables -t mangle -j TTL"
> >> producing
> >> "No chain/target/match by that name".
> >
> > What are you expecting to change?
>
> Well, this is what I get:
>
> [root@VM2 ~]# iptables -t mangle -A POSTROUTING -j TTL --ttl-set 1
> iptables: No chain/target/match by that name
> [root@VM2 ~]#
>
> Do you think this is what I should get?
>
Did you check to see if the ttl kernel module is loaded with lsmod?
If it is not there then you need to load it. You can just test it with
modprobe /lib/modules/2.6.9-34.EL/kernel/net/ipv4/netfilter/ipt_ttl.ko
Substitute 2.6.9-34.EL with your kernel version.
If that works then put it in
/etc/sysconfig/iptables-config
-Connie Sieh