Firewall settings – antiX-22 Full

Forum Forums General Software Firewall settings – antiX-22 Full

  • This topic has 40 replies, 10 voices, and was last updated Feb 24-12:35 pm by marcelocripe.
Viewing 15 posts - 1 through 15 (of 41 total)
  • Author
    Posts
  • #100097
    Member
    dukester

      Got antiX installed on an older iMac. Works like a charm!
      The 19.3 install on my laptop has a firewall setting icon in Control Centre/Network

      I can’t find any firewall config in Control Centre in antiX-22.
      Do I need to further config/install something?

      I’m trying to ssh into the iMac from my laptop and/or use FileZilla. TIA

      • This topic was modified 2 months, 2 weeks ago by dukester.

      --
      dukester

      #100105
      Member
      dukester
        Helpful
        Up
        0
        ::

        update!!
        Installed gufw using synaptic. Chokes!

        sudo gufw
        /usr/bin/gufw: line 2: loginctl: command not found
        /usr/bin/gufw: line 2: loginctl: command not found
        /usr/bin/gufw: line 2: [: =: unary operator expected
        pkexec: error while loading shared libraries: libpolkit-agent-1.so.0: cannot open shared object file: No such file or directory

        --
        dukester

        #100106
        Member
        dukester
          Helpful
          Up
          0
          ::

          Got it fixed!!

          --
          dukester

          #100131
          Moderator
          Brian Masinick
            Helpful
            Up
            0
            ::

            Congratulations!

            When you have time please share your solution for the potential benefit of others.

            Thank you very much and continued best wishes.

            --
            Brian Masinick

            #100141
            Member
            dukester
              Helpful
              Up
              0
              ::

              When you have time please share your solution for the potential benefit of others.

              libpolkit-agent-1 was not installed. Imagine!! It should be a dependency for `gufw’ IMHO.

              And furthermore, does the fact that (g)ufw not being installed with antiX-22 Full mean that there’s zero firewall protection by default? I sure hope not. Maybe the relevant config files are there but no means to get at them?

              --
              dukester

              #100142
              Forum Admin
              anticapitalista
                Helpful
                Up
                0
                ::

                ufw is installed.
                firewall is set up by iptables with or without a gui front end

                Philosophers have interpreted the world in many ways; the point is to change it.

                antiX with runit - leaner and meaner.

                #100143
                Member
                PPC
                  Helpful
                  Up
                  0
                  ::

                  does the fact that (g)ufw not being installed with antiX-22 Full mean that there’s zero firewall protection by default?

                  I think antiX 22 Full includes, out of the box, ufw, but disabled and without a GUI (I think antiX used to include a GUI for it?)
                  To enable it, on the terminal: sudo ufw enable
                  To disable, on the terminal it: sudo ufw disable

                  Once enabled, it should start automatically the next time you start antiX…

                  Edit: Nijaed again by anticapitalista himself!

                  P.

                  • This reply was modified 2 months, 2 weeks ago by PPC.
                  #100146
                  Member
                  PPC
                    Helpful
                    Up
                    0
                    ::

                    ufw is installed.

                    @anticapitalista: Do you want me to create a tiny yad GUI to turn the firewall on/off? So users can do it from the Control Center?

                    #100147
                    Member
                    dukester
                      Helpful
                      Up
                      0
                      ::

                      @PPC
                      @anticapitalista

                      Thanks for the clearing that up. However, should this not be flashed to the user/installer at install time? With a warning to leave the firewall alone unless/until the user knows what he’s doing?

                      --
                      dukester

                      #100148
                      Moderator
                      Brian Masinick
                        Helpful
                        Up
                        0
                        ::

                        does the fact that (g)ufw not being installed with antiX-22 Full mean that there’s zero firewall protection by default?

                        I think antiX 22 Full includes, out of the box, ufw, but disabled and without a GUI (I think antiX used to include a GUI for it?)
                        To enable it, on the terminal: sudo ufw enable
                        To disable, on the terminal it: sudo ufw disable

                        Once enabled, it should start automatically the next time you start antiX…

                        Edit: Nijaed again by anticapitalista himself!

                        P.

                        Even though the commands are fairly short and simple, a quick script is nice.

                        If someone has difficulty we can point to the script.

                        --
                        Brian Masinick

                        #100149
                        Member
                        dukester
                          Helpful
                          Up
                          0
                          ::

                          ufw is installed.


                          @anticapitalista
                          : Do you want me to create a tiny yad GUI to turn the firewall on/off? So users can do it from the Control Center?

                          Good idea IMHO!!!

                          --
                          dukester

                          #100155
                          Forum Admin
                          anticapitalista
                            Helpful
                            Up
                            0
                            ::

                            ufw is installed.



                            @anticapitalista
                            : Do you want me to create a tiny yad GUI to turn the firewall on/off? So users can do it from the Control Center?

                            Good idea IMHO!!!

                            the masses have spoken 🙂

                            Philosophers have interpreted the world in many ways; the point is to change it.

                            antiX with runit - leaner and meaner.

                            #100156
                            Member
                            dukester
                              Helpful
                              Up
                              0
                              ::

                              the masses have spoken

                              If Putin and Xi would listen to “the masses” it would be a totally different world at the moment – would it not?

                              OT I know! But I couldn’t help myself. Thanks!! 👍

                              --
                              dukester

                              #100157
                              Member
                              techore
                                Helpful
                                Up
                                0
                                ::

                                I don’t feel a gui is needed for every utility including ufw. Where does it end?

                                A better option in my opinion, is to revise https://download.tuxfamily.org/antix/docs-antiX-21/FAQ/index.html#_post_installation to something like this.

                                How to enable the Firewall?

                                antiX includes iptables and ufw. Enable ufw firewall by executing:

                                sudo ufw enable

                                ufw configuration files are found at /etc/ufw/. ufw.conf is its configuration file and user rules may be placed in user.conf (IPv4) and user6.conf (IPv6).

                                See ‘man ufw’ for addition details on using ufw.

                                (I suppose you could keep the line below, but is it really needed?)

                                An alternative is to use Gufw. Once installed, to set it up go to Control Centre-→ Network-→ Manage Firewall.

                                Not trying to be cheeky but the solution isn’t always a gui. However, I could be wrong. I am often wrong. 🙂

                                #100159
                                Member
                                PPC
                                  Helpful
                                  Up
                                  0
                                  ::

                                  @Techore – I respect your opinion, but I also think that basic management tasks any non geek user may want to perform: namely- set date and time, update the OS, install packages, enable/disable a firewall, add/remove icons the the toolbar or the menu, etc, should, by default have an easy to use GUI out of the box. It takes only some kb and one extra entry on the Control Center. If users don’t need it, they won’t notice any difference… but if users need that feature, they’ll be glad it’s there…

                                  @anticapitalista and all- the script is ready (it requires some localization, but it’s already adapted for easy localization- the variables with the text are all on the start of the script…)
                                  Please test the GUI:

                                  Note and possible TO DO: on my system, after toggling on UFW, it was off after I rebooted… I think this was discussed before on the forum- if so, please point me to the how-to, so that feature can be added to the script- I’m too busy to search the forum for that, right now…

                                  EDIT: I’m running antiX 22, 64bits, full, runnit

                                  P.

                                  • This reply was modified 2 months, 2 weeks ago by PPC.
                                  • This reply was modified 2 months, 2 weeks ago by PPC.
                                Viewing 15 posts - 1 through 15 (of 41 total)
                                • You must be logged in to reply to this topic.