Re: iptables requires packets counter
Incoming from RatÓn:
>
> 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'
>
> Any help please?
-c, --set-counters PKTS BYTES
This enables the administrater to initialize the packet and byte
counters of a rule (during INSERT, APPEND, REPLACE operations).
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling Please don't Cc: me.
- -
Reply to: