Link Search Menu Expand Document


A tool to create IP sets for firewall rules. More information:

  • 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}} {{}}

  • Delete a specific IP address from a set:

ipset del {{set_name}} {{}}

  • Save an IP set:

ipset save {{set_name}} > {{path/to/ip_set}}