How to correctly add an IP address to ipset from an iptables rule? Or isn't that possible at all?
This rule doesn't work for me: -A INPUT -m recent --name IP_LIST --set
Type of IP_LIST is hash:net
IP_LIST was created using command ipset create IP_LIST hash:net
But checking the same list for an IP to drop it, works:
-A INPUT -m set --match-set IP_LIST src -j DROP