Hi!
I have a myset.ipset file in /var/lib/location/ipset
I can load this file from /etc/sysconfig/firewall.local with command
ipset restore < /var/lib/location/ipset/myset.pset
restarting firewal.local goes with no errors
after firewal.local restart command
ipset list myset
correcly lists all ips
But when i restart /etc/init.d/firewall
error is displayed
Setting up firewall
iptables v1.8.10 (legacy): Set myset doesn’t exist.
Try `iptables -h’ or ‘iptables --help’ for more information.
Hello,
this is a known bug → 13563 – IPSet sets in firewall.local getting destroyed if the firewall will be restarted . You can find in there some causes when and why it crashes, have thought i´d find a solution at that time but went into a trap which wasn´t that easy to find for me. Was in hope that someone from the core devs (may @stevee ) went into it but i think there is currently too much other stuff to do.
Haven´t thought about it after some time but may i find some time to take another look, but if someone feels to grab it, am more than happy with this.