Enable UFW
You should enable firewall to block dangerous access from outside. To enable UFW,
$ sudo systemctl enable ufw
Check the status of the fiewall
$ sudo ufw status numbered
Allow SSH connection
$ ssh ufw allow ssh
Activate the firewall
$ sudo ufw enable
Leave a Reply