Skip to player
Skip to main content
Skip to footer
Search
Connect
Watch fullscreen
Like
Bookmark
Share
More
Add to Playlist
Report
ufw firewall setup on arch linux
IT techni
Follow
6 weeks 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
4 months ago
5:59
firefox-esr setup on arch linux
IT techni
5 weeks ago
4:04
Brave browser setup on Arch Linux
IT techni
4 months ago
7:21
Ulauncher setup on Arch Linux
IT techni
4 months ago
7:00
Playonlinux setup on Arch Linux
IT techni
3 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
2:42
Error failed to commit transaction...exists in filesystem resolution Arch Linux
IT techni
1 week 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
7:23
Kernel downgrade on Arch Linux
IT techni
1 year 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
4 months ago
6:44
Error symbol grub_is_using_legacy_shim_lock_protocol not found resolution
IT techni
3 days ago
6:31
Connecting to wifi on Alpine Linux using IWD
IT techni
3 days ago
8:15
chroot on alpine linux
IT techni
3 days ago
38:53
Ventoy's persistence plugin (live media with persistence)
IT techni
1 week ago
5:21
Commands to run whenever grub is updated on Arch Linux
IT techni
1 week ago
7:48
Multilib setup on Slackware
IT techni
1 week ago
3:12
sshfs setup void linux
IT techni
5 weeks ago
1:12
Certificate verification failed error resolution for xbps
IT techni
5 weeks ago
7:56
Configuring ASMI network for IBM power servers
IT techni
6 weeks ago
5:39
Failed to compile dosbox-x from the AUR, installed it from the chaotic AUR
IT techni
3 months ago
11:00
Maxx interactive desktop setup on ubuntu
IT techni
3 months ago
Be the first to comment