IPTables not working?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxx

-------------- 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/smime.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux