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

Re: IP Forwarding



Juan L. Pastor wrote:
My network setup is a Fedora Core 2 (192.168.1.2) and a Windows 2000
(192.168.1.3) boxes connected to two ports in an ADSL router
(192.168.1.1). I guess I don't need IP forwarding on my linux machine. I
know that with the command "echo 0 > /proc/sys/net/ipv4/ip_forward" I
can turn it off.

What is the right place to add this command to keep it on reboot?
rc.local?

Can it be turned off through any configuration tool?

Just add a line


net.ipv4.ip_forward = 0

to /etc/sysctl.conf if it's not already there (which it usually is by default).

Paul.


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