Skip to playerSkip to main content
  • 13 hours ago
Transcript
00:00what's up friends if you don't want to install ufw on your slackware and you
00:06want to use firewalld instead this video is what you need to get it working
00:14remember I have the membership enabled if you want to become a member I would
00:20appreciate it a lot there is this page for firewalld let's try to install it
00:28it depends on these two dependencies which we will we wish they don't have
00:33other dependencies let's see what they depend on we have python sleep no other
00:41dependency and python decorator yes I guess we will have to use something like
00:53SBO package or SBO UI to install SBO UI we need to use or we need to install
01:00libconfig which doesn't depend on any other package let's start with date
01:11like this and then the source but before that tar xvf libconfig cd libconfig and then w get
01:34it with the link that we just copied paste it there clear out the screen
01:43chmod plus x for the slack build dot slack build dot slash like that and then we copy this path
02:01and then install pkg and paste it here and
02:11enter
02:20we do the same thing with SBO UI
02:24copy this link copy this link
02:31clear wget paste it
02:38tar xvf sbou UI cd sbou UI then copy this link
02:52of course if you wonder if there are other methods there are plenty of them
02:58you can use the pre-compiled packages from pkgs or packages.org
03:07you can use SBO UI fully you can use slapped src etc the methods are so many
03:14here we download the source
03:17here we download the source paste the link like this
03:22and then
03:25chmod plus x sbou UI dot slack build dot slash sbou UI we run that script enter
03:39and then we install sbou UI using install pkg and paste that path like this
03:51the method is the same when it comes to slack builds you download the slack build you decompress it
04:00you go to the directory that is just created it is you it is usually with the name of the
04:06package
04:07you download the source
04:10you make the slack build executable
04:12you run it
04:13you get the path which is usually slash tmp slash
04:18the package name dot tgz or to dot txz
04:22you run install pkg or upgrade pkg or correct me i don't remember the second one i'm wrong
04:31mostly install pkg and then that path you will get it installed
04:35now let's install sbou let's run sbou UI
04:43actions sync
04:48here we press enter
04:50we look for firewall d
04:54just like i installed the lib config and sbou you can install the dependencies that way
05:01however it may become more and more cumbersome and complicated when the dependencies have dependencies
05:06and those dependencies have dependencies
05:09and so on and so forth
05:12i'll select this by pressing enter
05:15install
05:17it will automatically install for us the dependencies
05:20and i will deselect firewall d since i'm gonna install it from the
05:26slack builds
05:27okay press and enter on it
05:31here it's done
05:33enter
05:38escape
05:40queue
05:41let's clear out this
05:45we go back to firewall c firewall d and we install it
05:53using the slack build method
05:58cd
05:59two dots
06:02wcat
06:03paste link like this
06:08tar xvf
06:11firewall d
06:13enter
06:14clear
06:33chmod
06:38s and b are uppercase in case you want to type it
06:42however there is always auto completion using tab
06:45and enter here
06:47dot slash
06:47firewall
06:50d dot slack build
06:51you can install it from sboui sbopkg sb
06:55slapped src
06:58and all the other
06:59possible options
07:02enter
07:05we've got our package compiled and ready for installation let's install it
07:12by running this command
07:15if it is successful for you it will tell you
07:18something like slackware package
07:20the path which is usually slash tmp slash firewall d
07:25created
07:26firewall d with the version
07:28etc
07:30enter here
07:33now we see the command firewall cmd
07:51yes firewall d like this
08:07we have to remove
08:10this file rm
08:12then ln dash s
08:15etc rc dot d
08:18rc dot firewall d
08:22etc rc dot d
08:26firewall
08:31if i'm not wrong here
08:34enter
08:37let's see firewall cmd
08:40let's try to reboot
08:42i restarted my computer
08:45let me say that running this command i'm not sure of
08:50your firewall d may work without running it
08:54uh for me it complains like this even
08:59after running it but when i try to run it with an argument
09:03it it becomes like more
09:07like working if we can say
09:10so let's try to enable it
09:15enable
09:17or let me say
09:19or let me say
09:20i don't know the command actually activate
09:25yes it is reload
09:35it's a mod for that file that i created
09:437 this one we make it for firewall d like this and then
09:54let's try to see let's try with this command
10:00okay and we see
10:03success which means that it's working
10:06uh firewall cmd
10:10add port equals 22 slash tcp
10:16permanent although this is
10:19not needed for me because i'm running these commands through ssh
10:23enter we can see that it is successful
10:31status or list all
10:38yes so we have we have it active the target default services dhcp v6 client and ssh
10:50you know you probably know when you install firewall d that you will need to know its commands
11:00that's that's out of the scope of this video
11:03i'm signing out please don't forget to subscribe like share and comment
11:06and peace
Comments

Recommended