Skip to content

fmrns/ipfw-persistent-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

ipfw-persistent-table

Persist the ipfw tables.

  • work via console, as network connections may be lost.

autosave on shutdown and load on startup

  • make the script runnable. e.g.
chown root    /usr/local/sbin/ipfw-persistent-table
chmod u+x,go= /usr/local/sbin/ipfw-persistent-table
  • add the script to firewall_coscripts in rc.conf. e.g.
firewall_coscripts="/usr/local/sbin/ipfw-persistent-table"

manual load, and save.

  • /usr/local/sbin/ipfw-persistent-table save
  • /usr/local/sbin/ipfw-persistent-table load

call via cron, to update current tables.

  • put the line to call this script, such as
*/30 * * * * root /usr/local/sbin/ipfw-persistent-table cron

feel free to customize it to suit your own environment. cheers,

About

Persist the ipfw tables.

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages