centos6及以下
不需单独安装iptables-serivices,可直接通过
service iptables {
start|stop|reload|restart|condrestart|status|panic|save}
操作iptables服务
打开iptables服务自启动
chkconfig iptables on
centos7及以上版本
有单独的iptables-services服务,和iptables应用分开,可提供iptables的进程保护与持久化保存功能。
查看是否安装iptables-services
yum list iptables-services
安装ipt