First of all, thank you for your great work.
For Debian 9 and Ubuntu 18.04 where I tested this script, to actually load the service ipset-persistent before iptables tries to load its configuration and then fails because it doesn't find the sets, it is required to change one line in the file /etc/init.d/ipset-persistent
# X-Start-Before: $network iptables-persistent
must be changed to
# X-Start-Before: $network netfilter-persistent
This is because the iptables-persistent service has onther name in these two distributions, it's called netfilter-persistent
I just share this, so maybe this can be of help for others who get stuck with this little issue.
Kind regards, Robert
First of all, thank you for your great work.
For Debian 9 and Ubuntu 18.04 where I tested this script, to actually load the service ipset-persistent before iptables tries to load its configuration and then fails because it doesn't find the sets, it is required to change one line in the file
/etc/init.d/ipset-persistent# X-Start-Before: $network iptables-persistentmust be changed to
# X-Start-Before: $network netfilter-persistentThis is because the iptables-persistent service has onther name in these two distributions, it's called netfilter-persistent
I just share this, so maybe this can be of help for others who get stuck with this little issue.
Kind regards, Robert