Summary: | different file names for FireHOL and iptables-{save,restore} in /var/lib/iptables | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steffen Lassahn <lassahn> |
Component: | Current packages | Assignee: | Martin Holzer (RETIRED) <mholzer> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | blizzy-keyword-gentoo_bugs3.075080, paul |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 26762, 31052 | ||
Bug Blocks: |
Description
Steffen Lassahn
2003-08-12 08:41:59 UTC
OK, after looking around a little more I found a fourth method to solve the problem which is to patch FireHOL and set FIREHOL_AUTOSAVE to /var/lib/iptables/rules-save. What about modifying /etc/conf.d/iptables to: IPTABLES_SAVE="/var/lib/iptables/autosave" I don't know, that might break other things that are depending on the name rules-save. A workaround is to set up your firewall with firehol, and then do :
> /etc/init.d/iptables save
This saves whatever is the current iptables setup, which is then restored on boot (if you've added iptables to boot)
FireHOL 1.159 takes care of Gentoo by sourcing /etc/conf.d/iptables. So, this bug can be closed as soon as 1.159 is in Portage. closing with bug #31052 |