Due to a bug (similar to this one) i'm facing with iptables in Centos 7, I'd like to update the version of iptables.
# yum update iptables
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.coreix.net
* epel: mirror.de.leaseweb.net
* extras: mirrors.coreix.net
* updates: mirrors.coreix.net
No packages marked for update
# iptables -V
iptables v1.4.21
So I figured I'd update to either the latest (from their git) or to the tagged 1.6.0.
I managed to add the libraries needed to get ./autogen.sh
to run, then managed to ./configure --disable-nftables
and make
and make install
.
Now i'm not sure how I can run this version to test it, and how to implement it if it works as the default iptables.
I've found an online article that was spot on.
If this helps anyone, the steps I took before this article were the following:
Then the online article I followed does:
Git source don't have
configure
script in it, better download sources from iptables websitethen follow this instructions http://www.linuxfromscratch.org/blfs/view/svn/postlfs/iptables.html
How about direct install
Ref: https://pkgs.org/search/?q=iptables