"Anthony E. Greene" wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 12-Sep-2002/07:38 -0700, [EMAIL PROTECTED] wrote: > > > >You'll also need to set up IP Forwarding. Normally this is done by > > > >`echo 1 > /proc/sys/net/ivp4/ip_forward` > > > >But that only sticks until the next reboot, by which time you will have > >completely forgotten about it. (Might be months or years from now.) That > >means the command needs to be in a startup script somewhere. > > Can't you set this by adding a line to /etc/sysconfig/network: > > FORWARD_IPV4=yes > > I seem to recalll that that method is limited to certain kernel versions > or certain distributions, and that there is another file under > /etc/sysconfig/ that controls IP forwarding. > > Tony > - -- > Anthony E. Greene <mailto:[EMAIL PROTECTED]> > OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D > AOL/Yahoo Chat: TonyG05 HomePage: <http://www.pobox.com/~agreene/> > Linux: the choice of a GNU Generation. <http://www.linux.org/> > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: Anthony E. Greene 0x6C94239D <[EMAIL PROTECTED]> > > iD8DBQE9gLmhpCpg3WyUI50RAqdcAJ4mDvPBqOgwRqRlLAr9pLpuTA62rACg/Q65 > X4BJmPz0tEtn/crjjHUhFng= > =qCHB > -----END PGP SIGNATURE----- > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list
What I did : I have some ipchains rules which loads on boot. At the start of the rules : echo 0 > /proc/sys/net/ipv4/ip_forward At the end of the rules : echo 1> /proc/sys/net/ipv4/ip_forward You can write a script to start or stop packet forwarding at command line level. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list