
特定の IP チェーンのカウンターを 0 にしようとしています。使用したコマンドは次のとおりです。
iptables --zero mychain
これは、netfilter マニュアルページただし、これによってカウンターがゼロになるわけではありません。
Centos-7 3.10.0-693.5.2.el7.x86_64を使用しています
編集: (vera のコメントの後)
iptables --zero mychain -L
出力:
Chain mychain (3 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere quota: 7340032000 bytes
DROP all -- anywhere anywhere