Why are you using IPtables directly? It's good for an exercise, but roll-your-own firewall is not really as cool as it seems. Have you looked at Shorewall [net-firewall/shorewall].
http://www.shorewall.net
thanks,
joshua
On 10/28/05, James <[EMAIL PROTECTED]> wrote:
A. Khattri <ajai <at> bway.net> writes:
> > /etc/init.d/firewall is the default file where where you put your rules you
> > have written or grabbed elsewhere and modified to meet your specific needs.
> Not sure where this script came from - it doesn't come with iptables.
You are right, as it seems a very common name used for the rules scripts.
Maybe it's a ipchain vestige. I'll just ignore this...
> Not much to it. Make your rules and use "/etc/init.d/iptables save" to
> save 'em. When you restart iptables it will automatically load them from
> /var/lib/iptables/rules-save if it finds that file.
OK
> If you need any help, post on this list.
OK thanks for the clarifications...
James
--
gentoo-user@gentoo.org mailing list