where to put 'echo 1 > .../ip_forward ???
Gabriel VLASIU
gabriel at vlasiu.net
Wed Jul 15 06:40:19 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 15 Jul 2009, Reg Clemens wrote:
> Date: Wed, 15 Jul 2009 00:36:14 -0600
> From: Reg Clemens <reg at dwf.com>
> To: fedora-list at redhat.com
> X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00
> autolearn=unavailable version=3.2.3
> Subject: where to put 'echo 1 > .../ip_forward ???
>
> I seem to recall that there is a preferred place to put lines
> like
> echo 1 > /proc/sys/net/ipv4/ip_forward
>
> in the input scripts. But where?
>
> Ive put it in /etc/rc.d/rc.local, but Im sure that there is a
> better place (like a place I would look for it at a later date)
Change net.ipv4.ip_forward from /etc/sysctl.conf from 0 to 1.
Restart your system or run sysctl -p /etc/sysctl.conf
Gabriel
- --
// Gabriel VLASIU
//
// OpenGPG-KeyID : 0xE684206E
// OpenGPG-Fingerprint: 0C3D 9F8B 725D E243 CB3C 8428 796A DB1F E684 206E
// OpenGPG-URL : http://www.vlasiu.net/public.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFKXXnYeWrbH+aEIG4RAv5OAJ9b1aDfyDCbBeK9jsEg29M20PQ72wCeKYMJ
m48NjfkZ2x8uUHQJWEQFgh4=
=q+IS
-----END PGP SIGNATURE-----
More information about the fedora-list
mailing list