The Debian iptables package in sid/sarge recently changed.
It no longer uses /etc/init.d/iptables to load and save
rulesets. What I did for now is to just recreate the initscript
in my webmin-firewall package (See attached patch.) but
there is probably a better/more elegant way to do it.
Logged In: YES
user_id=129364
What method does Debian use now? I would like to support it
properly in Webmin if possible ..
Also, I didn't see any patch attached to this bug report..
Logged In: YES
user_id=125881
Whoops sorry here's the patch now. Sorry I didn't get this to you
in time for 1.150 but in a way its a good thing as I later got some
bug reports about it. And you may prefer something else anyway.
I talked to the Debian iptables maintainer and he said the
preferred method now is just to use iptables-save to save rules
to a file and iptables-restore to restore them again. Replace with
ip6tables-save and ip6tables-restore for ipv6.
Logged In: YES
user_id=129364
Try out the updated firewall module attached to this email,
which checks if the Debian init script exists, and if not
falls back to creating it's own and using it's own save file.
Updated Linux Firewall module