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
NUMIPTENT="512:512"

Edit oy to increase the “numiptent” limit.

Was this answer helpful?

 Print this Article

Also Read

what is eXploit Scanner (cxs)

eXploit Scanner (cxs) is a new tool from Configserver that performs active scanning of files as...

Installing Rkhunter (Rootkit Hunter) in RHEL, CentOS and Fedora

Rkhunter (Rootkit Hunter) is an open source Unix/Linux based scanner tool for Linux systems...

Secure system using "mod_security".

Follow the below steps to install “mod_security”. ModSecurity supplies an array of...

How to change default SSH port?

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

25 Most Frequently Used Linux IPTables Rules Examples

In the below examples we are using ETH0 as network interface, however if you are using our...