设置IP转发提示iptables: No chain/target/match by that name错误的解决方法
来源:互联网 发布:淘宝排名查询网站 编辑:程序博客网 时间:2024/06/17 03:09
iptables的的指令可以用,但是当我要加入规则时,却出现以下的错误讯息。
[root@vpnserver ~]# /sbin/iptables -I FORWARD -d 0.0.0.0/0 -p tcp --dport 443 -m string --string "chinabank.com.cn" --algo bm -j REJECTiptables: No chain/target/match by that name.[root@vpnserver ~]#
谷歌了一下,有反应说是因为没有iptables的的模块,
一开始觉得怎么可能,因为都可以使用指令了,为什么会没有包含此模块,
结果lsmod的看了一下,还真的没有。
[root@vpnserver ~]# lsmodModule Size Used by
试着做以下指令,结果还真的没有此模块,
[root@vpnserver ~]# modprobe iptablesFATAL: Module iptables not found.[root@vpnserver ~]#既然这样,只好重新编译内核了。
0 0
- 设置ip转发提示iptables: No chain/target/match by that name错误的解决方法
- 设置ip转发提示iptables: No chain/target/match by that name错误的解决方法
- 设置IP转发提示iptables: No chain/target/match by that name错误的解决方法
- iptables: No chain/target/match by that name.
- iptables -t mangle -A PREROUTING -j MARK --set-mark 1提示iptables: No chain/target/match by that name
- Centos 7 docker 启动容器 iptables 报 No chain/target/match by that name
- Centos 7 docker 启动容器iptables报No chain/target/match by that name
- Centos 7 docker 启动容器 iptables 报 No chain/target/match by that name
- 【Howie玩docker】-Centos 7 docker 启动容器iptables报No chain/target/match by that name
- Docker 启动时报错:iptables:No chain/target/match by the name
- KEIL提示“No target connected”的解决方法
- KEIL提示“No target connected”的解决方法(转载)
- 错误:No resource found that matches the given name 'Theme.AppCompat.Light'解决方法
- 错误:No resource found that matches the given name 'Theme.AppCompat.Light'解决方法
- linux 在使用ssh实现内网互联互通时候提示connected by ip 错误的解决方法
- 在Eclipse的workplace外的工程使用兼容性actionbar提示No resource found that matches the given name的解决方法
- 【Android】No resource found that matches the given name “xxx” 的解决方法
- No resource found that matches the given name 'android:Widget.Material.ActionButton'的原因及解决方法
- 磁盘分区
- 学习了严蔚敏老师的数据结构(C语言版
- CSS基线之道
- 设置 QComboBox的下拉框Item高度
- 挂载
- 设置IP转发提示iptables: No chain/target/match by that name错误的解决方法
- mysql好文章累积
- 取消taleView上下扯动
- 学习日记-----各种问题
- java的char类型
- c# equals与==的区别
- VIM之花括号补全并格式化
- 制作工具类jar包遇到的问题
- 如何自己编写Makefile