Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to automatically create an ipset? #101

Open
dronmaxman opened this issue Aug 5, 2024 · 0 comments
Open

how to automatically create an ipset? #101

dronmaxman opened this issue Aug 5, 2024 · 0 comments

Comments

@dronmaxman
Copy link

dronmaxman commented Aug 5, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant