iptables提示:Firewall modules are not loaded

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/s295580857/article/details/51829585

具体的异常现象:
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

猜你喜欢

转载自blog.csdn.net/s295580857/article/details/51829585