Uncomplicated-Firewall (UFW)
Setup Basic Firewall With UFW
Setup
sudo ufw statusufw insert 1 <command ex. deny> from <ip> to any // example onlySet Outgoing Connections
sudo ufw default allow outgoingSet Incoming Connections
Set And Limit SSH Connections
Set Accessible Ports
Enable UFW Firewall
Last updated
Was this helpful?