New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
iptables help. Error iptables v1.4.7: can't initialize iptables table `nat'
Hello,
I am getting an error whenever I am trying to add any iptable rules. For example if I runiptables -t nat -L
I get response,
iptables v1.4.7: can't initialize iptables table nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.
I have a fresh install of CentOS 6.8 with SolusVM successfully installed and booted into the OpenVZ kernel 2.6.32-042stab123.8
.
lsmod gives,
https://pastebin.com/YeTbGReK
I have tried grep -R "options nf_conntrack ip_conntrack_disable_ve0=0" /etc/modprobe.d/
still without any luck of it working.
Thanks,
Cam
This discussion has been closed.
Comments
you scare us if you cannot even google something like this since it isn't that hard and usually with you being a "provider" with the provider tag and running a web hosting business you are at least expected to have some knowledge at least on how to fix issues like this which leads us to this meme instead lol:
you also have already asked this already before it appears:
https://lowendtalk.com/discussion/102444/ip-tables-and-kernel-help#latest
Thank you for showing how kind you are to LET. I am reaching out on here because I have looked up and down trying many things to resolve this. I am not the type of person who usually reaches out for help on issues like this but this is something that is actually giving me a tough time.
Don't tell me that I didn't try to google this. Because you really don't know.
Thanks,
Cam
this webpage could help https://serverfault.com/questions/593263/iptables-nat-does-not-exist, and shouldn't you update to CentOS 6.9
Hello,
Thanks for that. I did look at that page and tried the answer with no luck.
I run
grep -R "options nf_conntrack ip_conntrack_disable_ve0=0" /etc/modprobe.d/
and reboot and still get the same error when adding a rule.Typo on my part, it is 6.9.
Thanks,
Cam
Which kernal version?
2.6.32-042stab123.8
you also did the part of changing that setting to 1 in the file you hopefully found and just omitted that part here? just so to say... grepping for a file won't change anything after all ;-)
Grep nf_conntrack /boot/config*
You need to set
iptable_nat
invz.conf
on the host node. https://forum.openvz.org/index.php?t=msg&goto=42693&FACEPALM! Thankyou I cannot believe that haha. You made my day! Send me a PM if you want me to hook you up with some hosting =D
Thanks,
Cam
Thanks guys for the help.
i tried every thing, but still getting the same error
my old machines are working fine, new virtualizor install gives this error
what shall i do?
Provider tag! Should I panic now??
Yeah "I ran grep and rebooted", this is golden.
For?
On the Internet, you can never guess who's who. Could be worse
You should hire someone with knowledge to protect your clients... Copy&Paste from Google is dangerous
You guys should look at the dates... this is from July......