Skip to content

Commit 6f8fa11

Browse files
committed
chore(gen): update
1 parent cf16f2b commit 6f8fa11

File tree

1 file changed

+16
-3
lines changed
  • tutorials/installation-uncomplicated-firewall

1 file changed

+16
-3
lines changed

tutorials/installation-uncomplicated-firewall/index.mdx

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,24 @@ UFW, or **[Uncomplicated FireWall](https://en.wikipedia.org/wiki/Uncomplicated_F
2121

2222
- A Scaleway account logged into the [console](https://console.scaleway.com)
2323
- [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
24+
- An [Instance](/compute/instances/how-to/create-an-instance/) running on Ubuntu Focal Fossa or later
2425
- An [SSH key](/identity-and-access-management/organizations-and-projects/how-to/create-ssh-key/)
2526
- `sudo` privileges or access to the root user
2627

2728
## Installing UFW
2829

29-
UFW is available as a pre-built package in the apt repositories of Ubuntu. It can be easily installed via apt:
30+
UFW is available as a pre-built package in the apt repositories of Ubuntu. It can be easily installed via `apt`.
31+
32+
1. Connect to your Instance with SSH. In a terminal run:
33+
```
34+
ssh root@<your_instance_ip>
35+
```
36+
2. Update the system and upgrade the software already installed on the Instance.
37+
```
38+
apt update && apt upgrade -y
39+
```
40+
41+
3. run the command below to install UFW:
3042

3143
```code
3244
sudo apt-get install ufw
@@ -82,7 +94,7 @@ The services running on the machine used in this example need the following port
8294
```
8395

8496
<Message type="note">
85-
In this case `TCP` has not to be specified, as both, `TCP` and `UDP` are needed.
97+
In this case `TCP` has not to be specified, as both `TCP` and `UDP` are needed.
8698
</Message>
8799
5. Activate the new rules.
88100
```code
@@ -130,7 +142,8 @@ Over time, you may recognize that some of the rules you defined previously do no
130142
```
131143

132144
The numbers at the beginning of each row are the number of the rule in UFW.
145+
133146
2. To delete a rule, find its number and type:
134147
```code
135-
sudo ufw delete NUMBER
148+
sudo ufw delete <RULE_NUMBER>
136149
```

0 commit comments

Comments
 (0)