Reducing the number of iptables rules
Posted: 18 Mar 2015, 11:24
Lately I have been getting this error every day when my server reboots in the morning:
Does csf generate iptables rules every time the server is rebooted? If so, how can I modify the script that generates these rules so that fewer rules are created?
Most online references suggest that the solution to this problem is to get my VPS host to increase the numiptent value, which they will not do. Instead of switching to a new host that will increase my numiptent value, is it possible to reduce my iptables rules -- for example by combining several rules into one -- so that my rules are less which might stop this error from occuring?Error: The VPS iptables rule limit (numiptent) is too low (512/512) - stopping firewall to prevent iptables blocking all connections, at line 583 in /usr/sbin/csf
Does csf generate iptables rules every time the server is rebooted? If so, how can I modify the script that generates these rules so that fewer rules are created?