View Single Post

  #5 (permalink)  
Old 09-06-2003
David
 
Posts: n/a
Default Re: RH 8.0 gateway and iptables

Ramanan wrote:
> Continuing with where I left off :-) I found out that one needs to set a
> security option re:ip forwarding on a system configuration file too.
> On RH > 8.0
>
> /etc/sysctl.conf
> ...
> # Controls IP packet forwarding
> net.ipv4.ip_forward = 1
> ...
>
> Still no success.


Did you run "sysctl -p" after making the change?

> Then checking the kernel (2.4.21-pre5) config I noticed that
> Under TCP/IP there is no support for 'IP : Advanced router'!
> The correcpondig help feature at menuconfig mentions that /proc fs and
> Sysctl support should be enabled.


Are you trying to build a router or just be able to use iptables?

> Before I go ahead recompiling the kernel on a slow machine ....
> is there any other suggestions?
> Could I simply fix the error due to iptablesmore easily?


Redhat 8.0 should already have iptables support in the kernel. I
don't use redhat but you should check to see that ipchains isn't
running and disable ipchains if it is running.

hint:
# ntsysv

Then kill ipchains if it is running.

--
Confucius: He who play in root, eventually kill tree.
Registered with The Linux Counter. http://counter.li.org/
Slackware 9.0 Kernel 2.4.22 i686 (GCC) 3.3
Uptime: 7 days, 17:19, 1 user, load average: 0.12, 0.14, 0.19

Reply With Quote