iptables v1.6.0: can't initialize iptables table `nat': Table does not exist

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

iptables v1.6.0: can't initialize iptables table `nat': Table does not exist

4,575 次查看
ashokk
Contributor I

Dear Team ,

About iptables facing an issue "nating" please do  some needful information to move further.

getting below error message,what exactly it mean?

root@imx6ull14x14evk:~# iptables -t nat -A POSTROUTING -j MASQUERADE
iptables v1.6.0: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

标签 (1)
0 项奖励
回复
1 回复

4,115 次查看
b36401
NXP Employee
NXP Employee

Possibly iptables has no such table as "nat".
Also please make sure that ip_tables module is added.
I mean something like this:

root@imx8qmmek:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root@imx8qmmek:~#

0 项奖励
回复