FATAL: Module iptable_nat not found解决办法
2015-06-25 10:14
344 查看
当你在系统中执行modprobe iptable_nat,系统报错FATAL: Module iptable_nat not found时,说明你的内核中没有编译这个模块,你需要重新编译内核。这里介绍一下Centos下使用make menuconfig如何添加NAT相关模块。
1)依次进入Networking support -> Networking options -> Network packet filtering framework (Netfilter)
2)进入Core Netfilter Configuration选项下,为了保险起见,将Netfilter nf_tables support中的nat相关项设置为模块编译
3)进入IP: Netfilter Configuration选项下,设置IPv4 NAT和iptables NAT support所有子项都以模块的形式编译
4)保存config
5)重新编译内核make bzImage; make modules; make modules_install; make install
6)重启系统
1)依次进入Networking support -> Networking options -> Network packet filtering framework (Netfilter)
2)进入Core Netfilter Configuration选项下,为了保险起见,将Netfilter nf_tables support中的nat相关项设置为模块编译
3)进入IP: Netfilter Configuration选项下,设置IPv4 NAT和iptables NAT support所有子项都以模块的形式编译
4)保存config
5)重新编译内核make bzImage; make modules; make modules_install; make install
6)重启系统
相关文章推荐
- 高效产生不重复的数
- html抽取文本信息-java版(适合lucene建立索引)
- Shell脚本:使用rsync备份文件/目录
- ios通知中心
- 如何在Git中撤销一切 | 干货
- 用Java实现FTP批量大文件上传下载
- 算法-排序查找算法
- openwrt中添加自定义驱动模块
- 如何在Git中撤销一切 | 干货
- Codeforces 553A Kyoya and Colored Balls
- HTML中class和id标签的区别
- 应用越来越广泛的css伪类
- 设置cookies第二天0点过期
- 各版本的STP BPDU
- Pipenet v1.7.2.1229 1CD(最新版,管网流体分析软件)
- Struts2 的工作原理
- Algorithms—77.Combinations
- Web Service学习笔记(基本流程)
- cisco交换机端口聚合、VTP、ACL配置实例
- 如何跟老板提加薪,来看看自己值多少钱