IPSets


List all sets:

ipset list

list all names:

ipset list | grep Name

list information about NAME, including entries

ipset list NAME

add IP.ADD.RS.HERE/24 to the NAME of ipset.

ipset add NAME IP.ADD.RS.HERE/24

To remove an ipset added by fail2ban:

fail2ban-client set sshd unbanip IP.ADD.RS.HERE

- add to /etc/iptables/SETNAME to make persistent.