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

Re: iptables requires packets counter



am  13.01.2005, um 18:04:06 +0100 mailte RatÓn folgendes:
> Hello.
> 
> I´m new to packet-filtering. As you can imaging starting to use
> iptables. Well once I´ve reached my first configuration I want to test
> it by asking iptables if a certain type of traffic is going to be
> ACCEPTED or not. To do this I make use of the -c option as follows:
> 
> > iptables -c forward -p tcp -s 172.26.0.2 -d 192.168.0.1 -i br0
> 
> But as unespected iptables answers:
> 
> 'iptables v1.2.9: -c requires packet and byte counter'

Please try 'iptables-save -c' and parse the output.


Regards, Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47212,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    === 



Reply to: