If you add the line:
echo "1" > /proc/sys/net/ipv4/ip_forward
 
into /etc/rc.local somewhere, it will replace the file on each startup.

________________________________________________________________
Kevin Green
KD Micro Software
[EMAIL PROTECTED]

MP 107, Market City, 280 Bannister Road, Canning Vale WA 6155.
Phone: 9256 1566 (2778 internal)     Mobile: 0419 949 254.

----- Original Message -----
From: "David Busby" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 03, 2002 12:21 AM
Subject: ip_forward & kernel modules

> List,
>
> I have a RH7.3 box that I want to make a router...for this to work I have
> to have '/proc/.../ip_forward' set to 1.  When I set this parameter and
> reboot it's lost...how do I get it to persist?  Also I use
> 'ip_conntrack_ftp' and 'ip_nat_ftp' kernel modules (for iptables) and
> when I reboot those modules don't get reloaded...what gives?
>
> /B
>
>
>
> _______________________________________________
> Redhat-list mailing list
>
[EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to