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

Re: Permanent ip_forwarding definition



Yoni Cohen wrote:
> 
> Hi group,
> 
> 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 ?
> 
> Thanks

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. .

Boaz.
-- 
/"\
\ /     ASCII Ribbon Campaign
 x      Against HTML Mail
/ \

=================================================================
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