Juha Palomäki

Ubuntu quick firewall configuration

Category: Misc

Quick instructions for enabling firewall on Ubuntu using Uncomplicated Firewall (ufw). The resulting rules are quite obvious. Incoming traffic is denied, except for ssh, http and https (these refer to /etc/services) and outgoing is allowed.

These policies do not affect ICMP. Incoming ICMP remains allowed as per default ufw settings.

Juha Palomäki
Projects
Categories