I want to copy the firewall configuration for iptables from one server to the other. Both servers run Debian Squeeze and have Webmin 1.660 installed, so I want to copy the configuration that Webmin uses.
I couldn´t find it in "/var/webmin", in "/etc/iptable*", "/etc/sysconfig/iptables", or in "iptables.up.rules".
"/var/lib/iptables/active" is the current configuration and when I edit it, those changes won´t show up in Webmin. Though, when I click on "Revert Configuration" my changes are lost in that file and replaced.
Which file do I have to copy?