UFW¶
- Arch wiki
- Ubuntu wiki: UncomplicatedFirewall
- Ubuntu docs: UFW
- UbuntuFirewallSpec
- Debian trixie package
still depends on
iptables
Config¶
/etc/ufw/
Usage¶
List installed application profiles:
Delete rule:
Ansible¶
Note that as ufw manages its own state, simply removing a
rule=allowtask can leave those ports exposed. Therefore manually remove it: