Select Page

ABIOLA RASP – Raspberries for African School Projects

Wie können wir helfen?

< Alle Themen
Print

Add a firewall

no-040 au-03

Firewall – uwf

ufw firewall will be installed in this section. Is stands for “Uncomplicated Fire Wall”. This the default firewall tool in Ubuntu and can be installed on your Raspberry Pi.

Install uwf

  1. Open Terminal
  2. Run below command

sudo apt-get update

3. Install ufw with below command

sudo apt-get install ufw

Enable/Disable firewall

  1. To enable the firewall, use below command

sudo ufw enable

2. To disable the firewall, use below command

sudo ufw disable

You can see the “enabled” and “disabled” message in the screenshot after the commands.

Allow/Deny a particular port

  1. Allow a particular port (we used port 22) to have access

sudo ufw allow 22

2. Deny a particular port (we used port 22)

sudo ufw deny 22

Weiter Back-up the memory card
Inhaltsverzeichnis