I am putzing around w/ my firewall script. I am looking at two books, both of which give example iptables scripts for setting up a firewall w/ a 2.4 kernel.
The first one starts like this: iptables -F iptables -P input DENY iptables -P output REJECT iptables -P forward REJECT It is supposed to be written for a kernel around 2.4.0-2.4.1 or so. I am running (for the moment) the stock 2.4.9-13 kernel that comes w/ RH 7.2, and these iptables commands fail w/ the following message: iptables: Bad built-in chain name The second one has it's scripts in the following format (more or less) iptables -F iptables -X iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P FORWARD DROP which works beautifully. Is the difference just the case of the policy names? Or has there been a syntax change in iptabls since the 2.4.0 kernel release? TIA, Monte _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list