您的位置:首页 > 其它

FATAL: Module iptable_nat not found解决办法

2015-06-25 10:14 295 查看
当你在系统中执行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)重启系统
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: