A
better place is to edit this file as follows :
/etc/sysctl.conf
# Disables packet forwarding
#net.ipv4.ip_forward = 0 << comment out
# Enable packet forwarding
net.ipv4.ip_forward = 1 << Add this line
# Enables source route verification
net.ipv4.conf.default.rp_filter = 1
# Disables the magic-sysrq key
kernel.sysrq = 0
regards
Stephen
Davey
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin - KD Micro Software
Sent: Wednesday, 3 July 2002 11:30 AM
To: [EMAIL PROTECTED]
Subject: Re: ip_forward & kernel modulesIf you add the line:
echo "1" > /proc/sys/net/ipv4/ip_forwardinto /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 AMSubject: 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
