UFW

Uncomplicated Firewall

tbd

Enable UFW

ufw enable

Commands

ufw <allow/deny> <port/protocol> <incoming/outgoing>

Adding rules

This is an example of adding ssh to the allowed rules.

ufw allow ssh

Deny all incoming requests

ufw default deny incoming

Last updated