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

WHM/cPanel Server Hardening And Security Basics

1. Introduction A step by step paper how to secure linux server with cPanel/WHM andApache...

How To Use The IP Deny Manager

This tutorial will teach you how to use the IP Deny Manager to block access to your web site from...

How to hide your PHP version information?

Like Apache, it is not good to expose your PHP information to the public. Please follow the below...

Preventing DDOS aplification open resolver attack

DDOS Attack  by open DNS resolver: Open dns resolver provides name resolution to any network...

How to Install Anti DDOS on Server

You can secure your server just by using this 4 Lines codes: First download install package...