<SOLVED> Re: IP Forwarding

Juan L. Pastor seguridadlinux at yahoo.es
Mon Oct 11 10:23:17 UTC 2004


On Mon, 2004-10-11 at 10:54, Paul Howarth 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).

Forget it, I have rebooted the machine, and it is 0 now! :)

I might have echoed 1 previously through another command (?) 

Juan

-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html




More information about the fedora-list mailing list