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

Re: IP Forwarding



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.
See http://www.fsf.org/philosophy/no-word-attachments.html


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