丢弃来自某个IP地址的包 iptables -A INPUT -i eth0 -s x.x.x.x/24 -j DROP 加上/24表示网段,也可以不要 查询iptables中的包计数iptables --list -v