rpm -qa是查看已经装过的包,你这个已经有了。service iptables status 看看开了没有。
contos7名字不是iptables的一般都自带。
http://www.linuxidc.com/Linux/2017-04/142615.htm