Re: IP forwarding


Subject: Re: IP forwarding
From: Bill Fink (billfink@mindspring.com)
Date: Mon Dec 03 2001 - 21:35:16 MST


On Mon Dec 03 2001, Gary Hannon wrote:

> If as root I enter:
>
> # echo "1" > /proc/sys/net/ipv4/ip_forward
>
> it does.
>
> Is there a "standard" way to get this started at boot?
> Do I need to enable any services?, edit a script somewhere?
>
> I know there are probably volumes about networking I could read, but I need
> the
> "nutshell" answer please.

Hi Gary,

If you have a recent enough version of initscripts, you should be able
to just edit /etc/sysctl.conf, and make sure it contains the line:

net.ipv4.ip_forward = 1

That should do it.

                                                -Bill



This archive was generated by hypermail 2a24 : Mon Dec 03 2001 - 21:48:52 MST