早教吧 育儿知识 作业答案 考试题库 百科 知识分享

iptablesv1.4.3.1:can'tinitializeiptablestable`nat':iptableswho?(doyouneedtoinsmod?)Perhapsiptablesoryourkernelneedstobeupgraded.什么意思啊?(在sudoiptables-tnat-APOSTROUTING-oeth0-jMASQUERADE)

题目详情
iptables v1.4.3.1: can't initialize iptables table `nat': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
什么意思啊?(在sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE)
▼优质解答
答案和解析
应该是你的iptables_nat module 没有被系统内核加载进来,你可以试试 modeprobe iptable_nat ,或者按照我的思路在网上查找下。 具体的 iptable_nat 名字不太记得了。