IPSet cli syntax (Resolved)

Getting error when trying to add a list of IPv4s

v-add-firewall-ipset DigitalOcean file:list-IPs.txt 
Error: IP list file too small (<5), ignoring

list-IPs.txt is in this format with 400+ Digital Ocean CIDR Ranges


# Use # to comment, can also have empty lines
# Digital Ocean IP Range
#
107.170.0.0/17
162.243.0.0/17
188.226.128.0/17
46.101.128.0/17
165.232.112.0/20
165.232.128.0/20
165.232.144.0/20
165.232.160.0/20
165.232.176.0/20

checked documentation but couldn’t get it.
What the right syntax to add ipset blocklist ?

You must use the full path to that file.

1 Like

YES giving full path work…
Thanks a ton

1 Like