How to increase numiptent limit?

You may got the following errors ( Most probably after enabling CSF )

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

It is because you have reached the “numiptent” limit and firewall is unable to add new rules.

You can increase this value 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

Edit oy to increase the “numiptent” limit.

Was this answer helpful?

 Print this Article

Also Read

Scan your Linux system with Clam AntiVirus/ClamAV.Installation Guide

ClamAV is an open source (GPL) antivirus engine designed for detecting Trojans, viruses, malware...

Installing and configuring Spamassassin on CentOS

If you run your own mail server you'll want it to run spam filtering software to reduce the...

How to change default SSH port?

Everyone knows 22 is the default SSH port. So it’s always good to change this default port...

How to Secure WHM/cPanel

Login to WHM using root username/passwdhttp://serverip:2086 or http://serverip/whm WHM –...

How to prevent DDoS attack with csf?

First make sure DDOS attack is not from open recursive DNS settings. To check and fix that issue...