1865 Views
Security
Securing Your Server with Firewall
Configure UFW or iptables to protect your server
Firewall Configuration
Using UFW (Ubuntu):
ufw allow 22/tcp\nufw allow 80/tcp\nufw allow 443/tcp\nufw enableThis allows SSH, HTTP, and HTTPS while blocking other ports.