Can i upgrade iptables on WHM server?

postcd

Well-Known Member
Oct 22, 2010
721
21
68
Hello,

on my CentOS 6.x 64 openVZ based VPS where is WHM installed, i have "iptables -v": iptables v1.3.5

and i have Config server installed there, but its test script returns:

Testing xt_connlimit...FAILED [Error: iptables: Invalid argument. Run `dmesg' for more information.] - Required for CONNLIMIT feature
dmesg returns:
ip_tables: connlimit match: invalid size 24 != 32
Its some centos bug:
0005749: CONNLIMIT feature - CentOS Bug Tracker

which i dont know how to fix. but someone given an advice:

You may have to upgrade IP Tables installed in your container, it'll fix the issue.

cd /opt/
wget http://www.netfilter.org/projects/iptables/files/iptables-1.4.14.tar.bz2
tar xjvf iptables-1.4.14.tar.bz2
cd ./iptables-1.4.14
./configure
make
make install
/etc/init.d/csf restart

---
many thanks Dijeesh
its worked for me.
so i want to ask if i can try this iptables upgrade, if WHM will not cause any issue, or what you advice? thx for help in advance

Update: in my case above mentioned upgrade did not worked.
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

It's a system package so it's not going to directly relate to the cPanel/WHM software unless new firewall rules are added. Note that you may want to post this issue to the OpenVZ or CentOS support forums to see how they advise addressing this issue.

Thank you.