Ubuntu UFW – Uncomplicated Firewall

Ensure you are firewalled:

root@MikroDroplet:/home/mikrodots# apt-get install ufw
Reading package lists… Done
Building dependency tree
Reading state information… Done
ufw is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
root@MikroDroplet:/home/mikrodots# ufw allow 22/tcp
Rules updated
Rules updated (v6)
root@MikroDroplet:/home/mikrodots# ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup

Leave a Reply

Your email address will not be published. Required fields are marked *