Setup firewall

Written by

in

, ,

Install UFW firewall

To protect your server from external illegal attack, you shoud setup firewall.

$ sudo pacman -S ufw

Start and enable UFW service

$ sudo systemctl start ufw
$ sudo systemctl enable ufw

Allow SSH connections

$ sudo ufw allow ssh

Enable UFW firewall

$ sudo ufw enable

Comments

Leave a Reply

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