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

Re: Permanent ip_forwarding definition



On Wed, Dec 06, 2000, Boaz Rymland wrote about "Re: Permanent ip_forwarding definition":
> Yoni Cohen wrote:
> > I'm using RH 6 and i need to define the ip_forwarding of the OS to be
> > enable/disable during the boot proccess.
> > 
> > What files i need to update ?
> 
> I guess its the same as RH6.1, so then try:
> 
> (#)echo "1" > /proc/sys/net/ipv4/ip_forward
> 
> this is usually done at boot time through /etc/rc.d/rc.local or similar rc file.
> I must note that there are nicer ways to do this through some RH config files,
> but this works A-O.K. .

Check out 'man sysctl', 'man sysctl.conf', and the file /etc/sysctl.conf -
it's what you're looking for.

-- 
Nadav Har'El                        |    Wednesday, Dec 6 2000, 10 Kislev 5761
nyh@math.technion.ac.il             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |Cement mixer collided with a prison van.
http://nadav.harel.org.il           |Look out for sixteen hardened criminals.

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il