Comment 4 for bug 436608

Jamie Strandboge (jdstrand) wrote :

$ sudo ufw reset

From the manpage:
       reset Disables and resets firewall to installation defaults

Be warned-- this will reset before*rules and after*rules (and there is a prompt).