I configured a Debian Squeeze virtual machine in VMWare on my laptop. I configured it with a very restrictive set of firewall rules using Firestarter. I then uploaded a copy of its disk image to use as a virtual private server on the internet.
On the internet version, I rather rashly removed my firewall settings via the following command:
apt-get purge firestarter
I’ve since realised I want to restore the firewall rules to their old state, which is still on the original virtual machine on my laptop.
My question is: how can I copy the firewall settings from the virtual machine on my laptop to the one on the internet?
I tried copying /sbin/iptables from the original virtual machine to the new one, but that hasn’t had any effect (according to the output of