Certifique-se de usar letras minúsculas para nat
. As maiúsculas e minúsculas no mundo do Linux, por isso NAT
e nat
são duas tabelas diferentes.
Estou tentando usar iptables
e está me dando o seguinte erro
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.
Como corrijo isso? Estou executando Ubuntu 13.10
com
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
Ou
1: You could try modprobe iptable_nat or insmod iptable_nat
If the above succeeds you need to load iptable_filter the same way.
2. You need to upgrade iptables to 1.4.19.1 or higher.
3. Upgrade the kernel.