Linux – iptables gives me the error “can’t initialize iptables NAT”

iptableslinuxnat;

I am trying to use iptables and it is giving me the following error

root@vikkyhacks:~# iptables -t NAT -L
iptables v1.4.18: can't initialize iptables table `NAT': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

How do I fix this ? I am running Ubuntu 13.10 with

root@vikkyhacks:~# uname -a
Linux vikkyhacks 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Best Answer

Make sure you use lowercase for nat. Case matters in the Linux world, so NAT and nat are two different tables.