MaxKellermann/ferm

how to automatically create an ipset?

dronmaxman opened this issue · 0 comments

If the ipset does not exist, the ferm command /etc/ferm/ferm.conf will return an error. This problem is especially relevant when restarting the server.

It is probably possible to write a script that will run before ferm and create the ipset, but maybe there is a better solution to automatically create the ipset with ferm?

Yes, I know about "@hook pre", but maybe there is a better way?