How to Increase numiptent limit on OpenVZ/Virtuozzo?

Increase numiptent limit
You may get the numiptent limit error while restarting the firewall. This article will help you to resolve this issue.

Sometimes you may get the following numiptent errors ( Most probably after enabling CSF ). It is because you have reached the “numiptent” limit, and the firewall cannot add new rules.

The VPS iptables rule limit (numiptent) is too low (300/450) – stopping firewall to prevent iptables blocking all connections.

 

You can increase numiptent by editing the container configuration. In this case, my container ID is “9339”. So the configuration file will be “/etc/sysconfig/vz-scripts/9339.conf”.
You can find the line “NUMIPTENT” in this configuration file.

grep NUMIPTENT /etc/sysconfig/vz-scripts/9339.conf
NUMIPTENT="512:512"

 

Edit to increase the “numiptent” limit.

Share this post

Services to Explore

Stay up to date!

Stay up to date with the Web Hosting, Cloud and Server Management Industry News and Tutorials!

We will send you only the relevant emails, and we respect your privacy. Please review our privacy policy for more info.

OpenVZ / Virtuozzo Management Services

Focus on your business, and let us take care of your OpenVZ / Virtuozzo!
From what you are reading, it seems you are interested in OpenVZ / Virtuozzo and related technologies. If you have a moment to spare, please take a look at our Virtuozzo Management plan, which might interest you even more!
Virtuozzo Management Plan

Value-Added Services

We have services that can help you run a successful business. With us, you don't have to worry about these areas because our experts will take care of it for you.

ServerHealers uses cookies.