Secure Your VPS: Setup Firewall
View on Twitter
💡 Using a firewall to block incoming traffic on non-public ports is an essential part to securing a VPS:
➡️ ufw default deny incoming
➡️ ufw allow ssh
➡️ ufw allow http
➡️ ufw allow https
➡️ ufw enable