Re: IP Forwarding

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

 



On Mon, 2004-10-11 at 11:17 +0200, Juan L. Pastor wrote:
> 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).
> 
> It is, but somehow (maybe when iptables is started?)
> /proc/sys/net/ipv4/ip_forward=1 
> 
> Juan
> 
> -- 
> Please avoid sending me Word or PowerPoint attachments.
What are you using to start iptables?
If you are using a script as opposed to /etc/sysconfig/iptables,
your script is probably setting ip_forward to 1.

Ted


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux