ipset
A tool to create IP sets for firewall rules. More information: <https://manned.org/ipset>.
Install
- All systems
-
curl cmd.cat/ipset.sh
- Debian
-
apt-get install ipset - Ubuntu
-
apt-get install ipset -
Alpine
-
apk add ipset - Arch Linux
-
pacman -S ipset - Kali Linux
-
apt-get install ipset - CentOS
-
yum install ipset - Fedora
-
dnf install ipset - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install ipset - Raspbian
-
apt-get install ipset - Docker
-
docker run cmd.cat/ipset ipsetpowered by Commando
A tool to create IP sets for firewall rules. More information: <https://manned.org/ipset>.
-
Create an empty IP set which will contain IP addresses:
ipset create set_name hash:ip -
Destroy a specific IP set:
ipset destroy set_name -
Add an IP address to a specific set:
ipset add set_name 192.168.1.25 -
Delete a specific IP address from a set:
ipset del set_name 192.168.1.25 -
Save an IP set:
ipset save set_name > path/to/ip_set
© tl;dr; authors and contributors