Custom Firewall
Solution
Step-by-Step Instructions
Step 1: Set the default policy to allow
sudo ufw default allowStep 2: Enable the firewall
1sudo ufw enableStep 3: Allow SSH access (Port 22)
1sudo ufw allow 22/tcpStep 4: Set the default policy to deny
Last updated
Was this helpful?

