Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75400 - Webmin iptables config reverts back to old config when pressing "apply changes"
Summary: Webmin iptables config reverts back to old config when pressing "apply changes"
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
Depends on:
Reported: 2004-12-22 21:19 UTC by Matthew Sutton
Modified: 2005-04-25 05:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Sutton 2004-12-22 21:19:35 UTC
I make changes to the iptables firewall through the webmin interface.
When i go to apply those changes webmin reverts iptables to the state before the chnages and erases all the new rules I just made.  If I make the changes then go to a console and type in /etc/init.d/iptables reload the changes are made and kept.

Reproducible: Always
Steps to Reproduce:
1.Make changes to the iptables firewall via webmin
2.apply your new changes using the "apply configuration"

Actual Results:  
The changes are erased and webmin applies the iptables rules from before the edit.

Expected Results:  
Applied the changes to the firewall
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-03 03:58:10 UTC
can you please report this to the upstream developers as well
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-14 17:56:29 UTC
Can you try with 1.200 please?
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-25 04:07:52 UTC
closing due to lack of response
Comment 4 Matthew Sutton 2005-04-25 05:37:18 UTC
Sorry for the late response.  I should have closed this bug a while back.  What it was in the /etc/init.d/iptables script there is an option to save before stopping which is on by default.  So when you pressed apply changes in webmin the script overwrote the changes made with the one's already loaded.  Commenting out the line in /etc/init.d/iptables which saves the rules before stopping fixed this.  It had nothing to do with webmin.