具体的异常现象:
1.启动或者关闭防火墙没任何的提示
[root@ethnicity ~]# service iptables start
[root@ethnicity ~]# service iptables stop
2.查看防火墙的状态直接提示模块未加载
[root@ethnicity ~]# service iptables status
iptables: Firewall modules are not loaded.
修复的方法:
modprobe ip_tables #加载ip_tables模块
modprobe iptable_filter #加载iptable_filter模块
[root@ethnicity ~]# lsmod | grep iptable #查看模块,有模块即解决了
iptable_filter 2173 0
ip_tables 9567 1 iptable_filter
如文章对您有帮助,请打开支付宝扫码领取红包,就当做对作者的支持,谢谢