You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/installation-uncomplicated-firewall/index.mdx
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,24 @@ UFW, or **[Uncomplicated FireWall](https://en.wikipedia.org/wiki/Uncomplicated_F
21
21
22
22
- A Scaleway account logged into the [console](https://console.scaleway.com)
23
23
-[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
24
25
- An [SSH key](/identity-and-access-management/organizations-and-projects/how-to/create-ssh-key/)
25
26
-`sudo` privileges or access to the root user
26
27
27
28
## Installing UFW
28
29
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:
30
42
31
43
```code
32
44
sudo apt-get install ufw
@@ -82,7 +94,7 @@ The services running on the machine used in this example need the following port
82
94
```
83
95
84
96
<Messagetype="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.
86
98
</Message>
87
99
5. Activate the new rules.
88
100
```code
@@ -130,7 +142,8 @@ Over time, you may recognize that some of the rules you defined previously do no
130
142
```
131
143
132
144
The numbers at the beginning of each row are the number of the rule in UFW.
0 commit comments