Skip to player
Skip to main content
Search
Connect
Watch fullscreen
Like
Bookmark
Share
More
Add to Playlist
Report
ufw firewall setup on arch linux
IT techni
Follow
3 months ago
Category
🤖
Tech
Transcript
Display full video transcript
00:00
hello friends in this video I thought of showing you how to set up UFW as a
00:07
firewall on Arch Linux as well as giving examples of its basic usage
00:14
installing this piece of software when done remotely through SSH for example
00:22
may need to be done with precaution since it can cause you to be locked out
00:28
of your system so please be careful and get yourself ready for such case to
00:36
install this piece of software we simply run the command sudo pacman dash uppercase
00:41
s ufw this way and then we press y and enter here all right we may need to run
00:53
the command sudo ufw enable and every time we run any specific command related
01:00
to this piece of software it may need to be run as root I don't think otherwise is
01:07
possible only I always run it or I always forget to run it as root and it
01:14
complains about it this command should enable this firewall we may need to
01:23
enable its service by running this command this is not for enabling it's for
01:31
starting this would enable it at every startup and to start it it should be like
01:42
this and if you don't want to run the two commands and you want to simply make it
01:51
one you can do it by running this command which should do both at once if you want
01:59
to enable or allow a specific port you simply type sudo ufw allow for example the
02:07
port or sometimes it's related service or protocol if we can say like this and if
02:16
you want to deny it for example you can deny a specific port or a specific service if it's
02:25
possible sometimes you specify a specific service like SSH like here and it complains
02:34
that it cannot find it it may not be recognized by this firewall let's try for
02:44
example with RDP I'm not sure yes so to deny RDP I believe it should be like this
02:52
you need to know the port and if you want to know I'm purposely running this
02:59
without sudo to prove that it will complain if you want to see all the allowed and denied
03:06
ports you can run this command yes so let's run it as root and we can see the allowed and
03:14
denied ports maybe we should yeah I said here allow SSH I thought of doing it again so allow SSH it's simply
03:26
converted it into 22 let's say I want to deny VNC and we see the status and we can see that
03:37
VNC is not converted somehow into its port I don't think there is anything wrong with it
03:43
so that was it please subscribe like share and comment and peace
Be the first to comment
Add your comment
Recommended
2:36
|
Up next
ssh server on arch linux
IT techni
6 months ago
5:59
firefox-esr setup on arch linux
IT techni
3 months ago
4:04
Brave browser setup on Arch Linux
IT techni
6 months ago
1:55
Installing Firefox in Arch Linux
Watson Tech World
4 months ago
7:21
Ulauncher setup on Arch Linux
IT techni
6 months ago
7:00
Playonlinux setup on Arch Linux
IT techni
5 months ago
10:19
lilo bootloader setup on Arch Linux (replacing grub)
IT techni
1 year ago
8:52
Bypassing IDS Firewall using Meterpreter over SSH on Kali Linux
Penetration Testing with Kali Linux
10 years ago
7:28
How to Install AnonSurf on Kali Linux
izlenesi
9 years ago
1:06
Firewall installed
Music world
1 year ago
11:29
Linset--Crack WPA-WPA2 Wifi Password without Brute Force on Kali Linux 2.0
Penetration Testing with Kali Linux
10 years ago
12:15
KALI LINUX HACK PC ARMITAGE
Rolac92
10 years ago
17:03
Ventoy setup on Arch Linux and making bootable USB flash drive
IT techni
6 months ago
7:34
VLC setup on slackware
IT techni
5 hours ago
8:35
Fixing stuck at "loading linux....."
IT techni
5 hours ago
10:31
Lua setup on macOS (compiling it from source)
IT techni
1 week ago
6:33
Skip package update/install during gentoo update (includes package masking)
IT techni
2 weeks ago
6:44
zram on debian, ubuntu and mint
IT techni
3 weeks ago
5:25
SSH server setup on debian
IT techni
3 weeks ago
4:48
macos update (15.6.1 to 15.7.1)
IT techni
4 weeks ago
11:03
Skip packages update on arch linux (needed when downgrading)
IT techni
4 weeks ago
5:13
mpv setup on macos
IT techni
4 weeks ago
5:47
Minecraft setup on Arch Linux using legacy launcher + flatpak method (distro agnostic)
IT techni
4 weeks ago
6:57
Installing minecraft java on macOS using legacy launcher
IT techni
4 weeks ago
2:56
My first apple device (mac) ever
IT techni
5 weeks ago
Be the first to comment