import/export rules command
Bug #916961 reported by
Giacomo Picchiarelli
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ufw |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Is there an ufw command to export/import rules from a computer to another? (or backup purpose)
Thank you!
Thank you for using ufw and reporting a bug. I don't think I want to support an import or export command. This files themselves are simple iptables-restore compatible files, so backing up is straightforward. The files to backup are:
/lib/ufw/*rules
/etc/ufw/*.rules
To backup everything, grab /lib/ufw, /etc/ufw and /etc/default/ufw.
I'm going to mark this as "Won't Fix" for now. Please feel free to file any other bugs you may find.