From 6f8fa11bea4cd64b76a0da5442e952a3f3fcbd2b Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Fri, 13 Dec 2024 17:00:30 +0100 Subject: [PATCH] chore(gen): update --- .../index.mdx | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/tutorials/installation-uncomplicated-firewall/index.mdx b/tutorials/installation-uncomplicated-firewall/index.mdx index 6a63a7631a..57023abc67 100644 --- a/tutorials/installation-uncomplicated-firewall/index.mdx +++ b/tutorials/installation-uncomplicated-firewall/index.mdx @@ -21,12 +21,24 @@ UFW, or **[Uncomplicated FireWall](https://en.wikipedia.org/wiki/Uncomplicated_F - A Scaleway account logged into the [console](https://console.scaleway.com) - [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization +- An [Instance](/compute/instances/how-to/create-an-instance/) running on Ubuntu Focal Fossa or later - An [SSH key](/identity-and-access-management/organizations-and-projects/how-to/create-ssh-key/) - `sudo` privileges or access to the root user ## Installing UFW -UFW is available as a pre-built package in the apt repositories of Ubuntu. It can be easily installed via apt: +UFW is available as a pre-built package in the apt repositories of Ubuntu. It can be easily installed via `apt`. + +1. Connect to your Instance with SSH. In a terminal run: + ``` + ssh root@ + ``` +2. Update the system and upgrade the software already installed on the Instance. + ``` + apt update && apt upgrade -y + ``` + +3. run the command below to install UFW: ```code sudo apt-get install ufw @@ -82,7 +94,7 @@ The services running on the machine used in this example need the following port ``` - In this case `TCP` has not to be specified, as both, `TCP` and `UDP` are needed. + In this case `TCP` has not to be specified, as both `TCP` and `UDP` are needed. 5. Activate the new rules. ```code @@ -130,7 +142,8 @@ Over time, you may recognize that some of the rules you defined previously do no ``` The numbers at the beginning of each row are the number of the rule in UFW. + 2. To delete a rule, find its number and type: ```code - sudo ufw delete NUMBER + sudo ufw delete ``` \ No newline at end of file