iptables -nvL --line-number iptables -D INPUT 需要删除的规则数字 iptables -A INPUT -p tcp --dport 80 -j ACCEPT //新增规则