ufw - Uncomplicated Firewall
Check Status of UFW
sudo ufw status verbose
Enable UFW
sudo ufw enable
Deny Incoming Connections
sudo ufw deny from 123.123.123.123
Allow Specific Incoming Connections
sudo ufw allow http sudo ufw allow ssh sudo ufw allow 8080 sudo ufw allow 5060:5061/tcp
Set up Default Policies
sudo ufw default deny incoming sudo ufw default allow outgoing
Images 0 | ||
---|---|---|
No images to display in the gallery. |