UFW Firewall Cheat Sheet

From Wrong Port
Revision as of 04:52, 4 March 2025 by Rory (talk | contribs) (Added the UFW cheat sheet)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UFW Cheat Sheet

Enable and Disable UFW

Identify current services on VPS

Add services to UFW

Add IP address to UFW

Add IP address and Port to UFW

sudo ufw allow from <IP Address> to any port <port number>

sudo ufw allow from<IP Address> to any port <port number>