SSL & Security
UFW (Uncomplicated Firewall) controls which network ports are open on your server. DeployFly gives you a visual interface to add, remove, and toggle rules.
Open your server and click "Firewall" in the sidebar.
If the firewall shows as inactive, click "Enable Firewall". Before enabling, always make sure port 22 (SSH) is in the allow list — otherwise you'll lock yourself out.
Click "Apply Safe Defaults" to add pre-configured rules that allow SSH (22), HTTP (80), and HTTPS (443) while denying all other inbound traffic. This is a good starting point for any server.
Click "Add Rule" under the Inbound or Outbound section. Enter the port, protocol (TCP/UDP), source IP (or 0.0.0.0/0 for all), and choose Allow or Deny.
Use the toggle switch to temporarily disable a rule without deleting it. Click the trash icon to permanently remove a rule.
Scroll down to the "Firewall Log" section to see real-time UFW block and allow events. Useful for diagnosing why a connection is failing.
Watch out
Tips