Ubuntu uses UFW (Uncomplicated Firewall).
ufw allow ssh
ufw allow 80/tcp
ufw allow 443/tcp
ufw enable
ufw status
Welcome to Ubuntu!After logging in as root, your first task is to update the system repositories...
Protect SSH from brute force attacks.apt install fail2ban -yStart the service:systemctl start...
1. Disable Root LoginEdit config: nano /etc/ssh/sshd_configFind PermitRootLogin and set to no.2....