First, install ipset if needed. Please refer to your distribution to know how to do it. As an example, here is the command for Debian-like distributions.
$ apt-get update
$ apt-get install ipset
Then create a configuration file to define an ipset containing the IPs for which you want to open ac...