[CentOS] IPTables not working?

Jay Leafey jay.leafey at mindless.com
Thu Aug 25 18:02:32 UTC 2005


Mike wrote:

> 
> Of course, when I restart, the rule I entered with:
> iptables -A RH-Firewall-1-INPUT -s 195.225.176.0/24 -j DROP
> 

Um, try using

   iptables -I RH-Firewall-1-INPUT -s 195.225.176.0/24 -j DROP

instead and see what that does.  That's replacing '-A', which appends 
the rule to the END of the chain, with '-I', which inserts the rule at 
the HEAD of the chain.
-- 
Jay Leafey - Memphis, TN
jay.leafey at mindless.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5322 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20050825/7ad4eae5/attachment.bin>


More information about the CentOS mailing list