https://github.com/firehol/firehol/blob/master/sbin/update-ipsets says:
# update-ipsets - for FireHOL - A firewall for humans...
# This script depends on iprange, found also in firehol.
# It does not depend on firehol. You can use it without firehol.
I have tried to use it without firehol on Debian 12.10, 6.1.0-34-amd64 under root user like this:
apt install iprange ipset && curl -s https://raw.githubusercontent.com/firehol/firehol/refs/heads/master/sbin/update-ipsets|bash
result:
Cannot access ./install.config
iprange --version; ipset --version
iprange 1.0.4
ipset v7.17, protocol version: 7
After:
apt install firehol && systemctl disable firehol fireqos
find /etc /var /usr -name install.config
it is found at /usr/lib/firehol/install.config
So I run:
cd /usr/lib/firehol/ && curl -s https://raw.githubusercontent.com/firehol/firehol/refs/heads/master/sbin/update-ipsets|bash
This time it ran the script, with a few errors on the top:
geolite2_country| ERROR Command 'unzip' is not installed.
|
geolite2_asn| ERROR Command 'unzip' is not installed.
|
ipdeny_country| DISABLED
| To enable run: update-ipsets enable ipdeny_country
|
ip2location_country| ERROR Command 'unzip' is not installed.
|
ipip_country| ERROR Command 'unzip' is not installed.
running:
apt install unzip
curl -s https://raw.githubusercontent.com/firehol/firehol/refs/heads/master/sbin/update-ipsets|bash
worked without error now
https://github.com/firehol/firehol/blob/master/sbin/update-ipsets says:
I have tried to use it without firehol on
Debian 12.10, 6.1.0-34-amd64under root user like this:apt install iprange ipset && curl -s https://raw.githubusercontent.com/firehol/firehol/refs/heads/master/sbin/update-ipsets|bashresult:
Cannot access ./install.configiprange --version; ipset --version
After:
it is found at /usr/lib/firehol/install.config
So I run:
cd /usr/lib/firehol/ && curl -s https://raw.githubusercontent.com/firehol/firehol/refs/heads/master/sbin/update-ipsets|bashThis time it ran the script, with a few errors on the top:
running:
worked without error now