ufw default allow outgoing

Category: Security & Hardening

ufw default allow outgoing

Set the default policy to permit all outgoing traffic

Lets the system initiate any outbound connection, which keeps updates, DNS, and API calls working. Most servers pair this with ufw default deny incoming. Policies apply only to traffic not matched by an explicit rule.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.