赞
踩
ipset create black_list hash:ip timeout 0
iptables -A INPUT -p tcp -m set --match-set black_list src -m multiport --dports 443,80 -j DROP
#3600 单位是s
ipset add black_list 10.0.2.2 timeout 3600
ipset del black_list 10.0.2.2
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。