Change the location of iptables config file
I detect the file rules-save is missing everytime it’s changed.
I made the next changes in files:
[/usr/share/acf/app/iptables/iptables-model.lua]
local rulesfile = “/etc/iptables.conf”
[END]
[/etc/conf.d/iptables]
IPTABLES_SAVE=“/etc/iptables.conf”
[END]
[/etc/conf.d/ip6tables]
IP6TABLES_SAVE=“/etc/ip6tables.conf”
[END]
Now with “lbu ci” the config is saved.
(from redmine: issue id 499, created on 2010-12-25, closed on 2011-09-02)
- Changesets:
- Revision 85611c3e by Natanael Copa on 2011-07-20T07:40:55Z:
main/iptables: change default location for rules-save to /etc/iptables
fixes #499