Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Am implementing ipset on some Fedora 16 systems.

Since ipset rules run in memory and are lost on reboot planning to use a crontab @reboot script to reload the rules and send an email to administrator confirming the ruleset has been loaded.

Is there any problem in this approach or other recommended way to reload ipset rules after a reboot?

share|improve this question
up vote 1 down vote accepted

The only caveat is that you must also add the iptables rules in that use the set after the set has been recreated.

Otherwise if the rules exist in iptables you'll get an error inserting the --set-match rules into iptables since the databases wont exist and iptables as a 'service' in init.d is invoked before cron is.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.