setting up "ip_forwarding" on Linux box

From: S C (redhatlinux2003@hotmail.com)
Date: 05/10/02


From: "S C" <redhatlinux2003@hotmail.com>
Date: Fri, 10 May 2002 18:43:35 +0000 (UTC)

Hi all,
Thanks for reply to my earlier question.
Now, I am trying to set up ip_forwarding on Linux box (Red-hat v7.2;
kernel v2.4.7-10).

I Enabled IP forwarding by setting it to "yes" in /etc/sysconfig/network
file,
FORWARD_IPV4=yes
and rebooted the machine.

Also, I activate IP forwarding by using command:
echo "1" > /proc/net/ip_forward

After that, if I enter "/proc/sys/net/ipv4/ip_forward"; I get following
error:
"bash: /proc/sys/net/ipv4/ip_forward: Permission denied"

I did cd to "/proc/sys/net/ipv4/ip_forward" directory and tried changing
the permissions of the file.

"chmod 0777" or "chmod -v u+rwx" on that file says;
"mode of ip_forward changed to 0744 (rwxr--r--)".
HOWEVER, "ls -l" still shows the permissions as "rw-r--r--". & I am
unable to set ip_forwarding.

Is anything missing, or is some configuration required?

Can anyone please help me.
Tx

-- 
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG



Relevant Pages