如果输出为enabled就说明设置开机自启 如果输出为disabled就说明以及永久关闭了 参考: chkconfig iptables off(设置自动启动为关闭) chkconfig iptables on(设置自动启动为启动) chkconfig --del iptables(移除开启自启动 chkconfig --add iptables(增加开启自启动) firewalld防火墙只需要disabled就可以了 # systemctl ...