Should you not do this beforehand, you will end up locking yourself out and will end up physically needing to connect a monitor and a keyboard to give yourself terminal access to your Raspberry Pi, which is the absolute last thing anyone wants to end up doing! If this is the case then it is better if you can explicitly allow for incoming SSH connections via the port 22, which is the well-known default SSH port. Perhaps you are connecting your Raspberry Pi through a remote location before you end up enabling the UFW firewall. Now you need to turn it on, however, first, check that it is enabled. Once you have UFW installed, you are already part way there. Managing Your Raspberry Pi Firewall Via UFW You can use the command: “sudo apt install UFW”. Then search for “UFW” and highlight the package to install and confirm installation via the ‘OK’ button.Īs an alternative, you could also choose to install your UFW package quickly and very easily by using a command line, if you want to use the APT package manager.
0 Comments
Leave a Reply. |