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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

4,043 Views
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.

Labels (1)
0 Kudos
1 Reply

3,583 Views
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 Kudos