ipset
Create IP sets for firewall rules. tldr-pages
On Linux
Linux
Create an empty IP set which will contain IP addresses
ipset create set_name hash:ipIdentifyDestroy a specific IP set
ipset destroy set_nameIdentifyAdd an IP address to a specific set
ipset add set_name 192.168.1.25IdentifyDelete a specific IP address from a set
ipset del set_name 192.168.1.25IdentifySave an IP set
ipset save set_name >path/to/ip_setIdentify