OpenVZ Forum

Home » General » Support » iptables not working probably
iptables not working probably [message #53280] Mon, 06 August 2018 21:04 Go to next message
Dominik28111 is currently offline  Dominik28111
Messages: 3
Registered: July 2018
Junior Member
From: *

I have the latest Virtuozzo 7 version installed but the problem is I can't use iptables nat rules in my container. I am getting this error:

ptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Re: iptables not working probably [message #53281 is a reply to message #53280] Tue, 07 August 2018 06:22 Go to previous message
khorenko is currently offline  khorenko
Messages: 492
Registered: January 2006
Location: Moscow, Russia
Senior Member
From: *
Check if you have proper "netfilter" mode set for the Container.

man prlctl, grep netfilter

If you problem is solved - please, report it!
It's even more important than reporting the problem itself...
Previous Topic: OpenVZ Legacy : how to "protect/keep" Cached RAM inside a container? (UBC settings?)
Next Topic: there is no USB device on host
Goto Forum:

Current Time: Tue Aug 21 00:14:11 GMT 2018