Re: where to put 'echo 1 > .../ip_forward ???

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

 



-----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@xxxxxxx>
> To: fedora-list@xxxxxxxxxx
> 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-----

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux