Click to See Complete Forum and Search --> : ipv4 forwarding in RH7.1


knaapie
05-02-2001, 09:23 AM
I have RH7.1 installed and set up webmin with an additional firewall module (I disabled the RH firewall).

The forwarding and masquerading does not work until I do a "echo 1 > /proc/sys/net/ipv4/ip_forward" in order to enable IP forwarding.
I would like to know where I set this option to be permanent, since when I do a init 1 then init 3, I will have enable again.

Thanks

Lorithar
05-02-2001, 01:11 PM
Umm ..

in slackware the statement that does this is in /etc/rc.d/rc.inet1 ... you could grep your startup scripts to find out where your interfaces are started and add it in that script.
you could add it to /etc/rc.d/rc.local.