centos 7中 iptables删除不掉规则
平台:centos7
我用命令:
查看,
iptables -t filter --line -vnL INPUT
一般有第7条如下:
7 637 25983 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
然后,我用命令删除:
iptables -D INPUT 7
然后保存:
service iptables save
但是重启了firewall后,又出现了。
systemctl restart firewalld.service
请问下怎么永久删除那一条?