On Wed, 25 Jul 2001, int27h wrote:
> Perfect!
>
> I tried your ipchains -A forward -i eth0 -j MASQ.. and it worked ;-)
>
> Thx very much.
>
> Again ..if you don't mind :-)
>
> If I put a script on /etc/rc.d/rc.firewall...How could I fire it up?
>
> thx
Unless the initscripts have changed signifigantly, if the file
/etc/rc.d/rc.firewall exists at boot time it will automatically get
executed, just make sure it's executable (chmod 711 should work) and
begins with:
#!/bin/bash
However, if the file /etc/sysconfig/ipchains exists, and the ipchains
service is enabled at boot, then I am not sure which will 'win' and be
implemented. You can add/edit these lines to /etc/sysconfig/ipchains to
achieve the same effect:
:forward DENY
-A forward -i eth0 -j MASQ
Just remember you lose these changes if you re-run the lokkit firewall
setup program.
--
Chris Kloiber, RHCE
Enterprise Support - Red Hat, Inc.
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list