# Custom ipset not loaded

**URL:** <https://community.ipfire.org/t/custom-ipset-not-loaded/13038>\
**Category:** Firewall Rules\
**Created:** [17 October 2024 17:12 UTC](https://community.ipfire.org/t/custom-ipset-not-loaded/13038 "2024-10-17T17:12:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilmaars](https://community.ipfire.org/user_avatar/community.ipfire.org/ilmaars/32/9755_2.png) [@ilmaars](https://community.ipfire.org/u/ilmaars)\
**Post date:** [17 October 2024 17:12 UTC](https://community.ipfire.org/t/custom-ipset-not-loaded/13038/1 "2024-10-17T17:12:39Z")

</div>

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.

Where is problem?

---

<div class="post-metadata">

**Author:** ![ummeegge](https://community.ipfire.org/user_avatar/community.ipfire.org/ummeegge/32/16602_2.png) [@ummeegge](https://community.ipfire.org/u/ummeegge)\
**Post date:** [18 October 2024 14:40 UTC](https://community.ipfire.org/t/custom-ipset-not-loaded/13038/2 "2024-10-18T14:40:53Z")

</div>

Hello,  
this is a known bug → [13563 – IPSet sets in firewall.local getting destroyed if the firewall will be restarted](https://bugzilla.ipfire.org/show_bug.cgi?id=13563) . 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.

Best,

Erik
