I've recently upgrade my Ubuntu server install to 9.04. I'd like to install and use ufw. Is there a way to import my existing iptables into ufw? I'm worried about switching it on, and having all my ports closed. I'd like to open up a single additional tcp port, but don't want to go through the complicated process of changing my iptable rules.
i guess you can keep your iptables rules and do something like this:
- open a screen window
- sudo ufw enable && sleep 120 && sudo ufw disable (be sure it wont ask you passwd :D)
- do you testing and in a worst case scenario wait 120 secs
With this method you can test certain rules, without having an issue when you have to go to the co-loc.