Firewall Settings on Ubuntu 19.10

Ubuntu

Since the machine connects directly to an external network over PPPoE, I enable the firewall.

$ sudo ufw allow 80
$ sudo ufw allow 443
$ sudo ufw limit 22
$ sudo ufw enable

I exposed the web server and SSH. SSH password login was disabled beforehand.

/etc/ssh/sshd_config
PasswordAuthentication no
Me
Me

Check the settings with an online nmap site or similar.

sshd ufw
Sponsored links
Follow ☆Geha☆