Firewalls and Security
UFW (Uncomplicated Firewall)
What is UFW?
Let's set up UFW
sudo su # You must be root to configure UFW
ufw status # Check current firewall status (should be inactive)
ufw app list # List available application profiles
ufw allow OpenSSH # Allow SSH connections
ufw limit ssh # Rate-limit SSH to prevent brute force
ufw default deny incoming # Block all INcoming traffic by default
ufw default allow outgoing # Allow all OUTgoing traffic by default
ufw enable # Activate the firewall
ufw status # See the current ufw rules!
exit # go back to your own userNote that there are some implications of UFW and Docker:
Last updated
