00:00hello everyone the membership has been enabled I hope you consider it for this
00:06channel I've got two requests so far for making videos I will start with one and
00:12postpone the other the one that I will start with is installing ufw on slack
00:18where and the one that I will postpone is switching to Linux which needs script
00:26and preparation that's why I will postpone it for now to install ufw on slackware you
00:36look for ufw in slackbuilds.org this link you get two entries select ufw the
00:45second entry is a GUI interface for ufw we need the CLI based one so the first
00:56thing we need to do is to copy the link of the slack build and then in our
01:01terminal we download it using the command w get and then we paste the link and
01:08then enter and then we decompress that file by running tar xvf ufw tab helps with
01:23auto completion then enter and then cdufw the newly created directory I will
01:32clear the screen for a better view the second command is for downloading the
01:41source which will be the source which will be compiled shortly w get and then we paste the
01:53link like this downloaded and then we run slack build sorry gem mod plus x
02:11ufw dot slack build enter dot slash ufw that script that we just made executable now and then enter
02:26password oh yeah sudo password okay we switch user to root by running su and then the password we're
02:40still in the same directory where we just extracted the slack build and downloaded the source we can now run
02:49ufw slack build okay unless we should get the newly created package which is this one not in the directory
03:09we can run install pkg and then we paste that path
03:18if we run ufw if we run ufw now we have it installed
03:24there are some extra commands to run like this command please keep in mind that running these commands
03:33on a remote machine can lock you down in case you close the ssh port we run this command
03:45to make a symbolic link between the rc file of ufw and the one for firewall then enter
03:58and then we make that file executable and give it the right permissions like this clear ufw status inactive ufw
04:14allow ssh
04:20ufw enable ufw enable y and enter and then we can allow ssh ufw status and we can see that
04:34ssh is enabled
04:38uh let's try to reboot ufw is enabled on startup okay i restarted my slackware machine uh let's switch to
04:50root
04:51we run ufw status to see if it is running and you can see that it is active and running
04:58uh that makes it for this video please don't forget to subscribe like share like share and comment and peace
Comments