Help with basic firewall setup please

Forum Forums New users New Users and General Questions Help with basic firewall setup please

  • This topic has 2 replies, 3 voices, and was last updated Feb 2-6:11 pm by caprea.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18403
    Member
    Budgie

      I am trying to set up a basic firewall and as usual do not know what I am doing. Using antiX Control Centre > Network > Manage Firewall I find the firewall appears to be inactive. If I press the unlock button the status changes to “on” but if I then close the firewall after seeing some basic filters it appears to turn off.
      If I select Help from the Firewall window all I appear to get is a File Manager window opened at root. Here is the beginners info requested:-

      $ inxi -zv7
      System:
        Host: antix1 Kernel: 4.9.126-antix.1-486-smp i686 bits: 32 compiler: gcc v: 6.3.0 
        Desktop: IceWM 1.4.2 info: icewmtray dm: SLiM 1.3.4 
        Distro: antiX-17.2_386-full Helen Keller 4 October 2018 
        base: Debian GNU/Linux 9 (stretch) 
      Machine:
        Type: Laptop System: IBM product: 2373Q91 v: ThinkPad T42 serial: <filter> Chassis: 
        type: 10 serial: <filter> 
        Mobo: IBM model: 2373Q91 serial: <filter> BIOS: IBM v: 1RETDRWW (3.23 ) 
        date: 06/18/2007 
      Battery:
        ID-1: BAT0 charge: 47.8 Wh condition: 48.6/47.5 Wh (102%) volts: 12.4/10.8 
        model: SANYO IBM-92P1137 type: Li-ion serial: <filter> status: Unknown 
      Memory:
        RAM: total: 1002.4 MiB used: 639.8 MiB (63.8%) 
        RAM Report: permissions: Unable to run dmidecode. Are you root? 
      CPU:
        Topology: Single Core model: Intel Pentium M bits: 32 type: MCP arch: M Dothan 
        rev: 6 L2 cache: 2048 KiB bogomips: 2398 
        Speed: 1200 MHz min/max: 600/1800 MHz Core speed (MHz): 1: 1200 
        Flags: acpi bts clflush cmov cx8 de dts est fpu fxsr mca mce mmx msr mtrr pbe pge 
        pse sep ss sse sse2 tm tm2 tsc vme 
      Graphics:
        Device-1: AMD RV200/M7 [Mobility Radeon 7500] vendor: IBM ThinkPad T4x Series 
        driver: radeon v: kernel bus ID: 01:00.0 chip ID: 1002:4c57 
        Display: server: X.Org 1.19.2 driver: ati,radeon unloaded: fbdev,modesetting,vesa 
        resolution: 1024x768~60Hz 
        OpenGL: renderer: Mesa DRI R100 (RV200 4C57) x86/MMX/SSE2 DRI2 v: 1.3 Mesa 13.0.6 
        direct render: Yes 
      Audio:
        Device-1: Intel 82801DB/DBL/DBM AC97 Audio vendor: IBM ThinkPad T4x Series 
        driver: snd_intel8x0 v: kernel bus ID: 00:1f.5 chip ID: 8086:24c5 
        Sound Server: ALSA v: k4.9.126-antix.1-486-smp 
      Network:
        Device-1: Intel 82540EP Gigabit Ethernet vendor: IBM Thinkpad driver: e1000 
        v: 7.3.21-k8-NAPI port: 8000 bus ID: 02:01.0 chip ID: 8086:101e 
        IF: eth0 state: down mac: <filter> 
        Device-2: Qualcomm Atheros AR5212 802.11abg NIC vendor: Phillips driver: ath5k 
        v: kernel port: 8000 bus ID: 02:02.0 chip ID: 168c:1014 
        IF: wlan0 state: up mac: <filter> 
        IP v4: <filter> scope: global broadcast: <filter> 
        IP v6: <filter> scope: link 
        WAN IP: <filter> 
      Drives:
        Local Storage: total: 111.79 GiB used: 7.22 GiB (6.5%) 
        ID-1: /dev/sda vendor: Toshiba model: MK1234GAX size: 111.79 GiB speed: <unknown> 
        serial: <filter> rev: 1A scheme: MBR 
        Floppy-1: /dev/fd0 
        Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVD-ROM GDR8085N rev: 0X02 
        dev-links: cdrom 
        Features: speed: 24 multisession: yes audio: yes dvd: yes rw: none state: running 
      RAID:
        Message: No RAID data was found. 
      Partition:
        ID-1: / size: 9.55 GiB used: 3.87 GiB (40.5%) fs: ext4 dev: /dev/sda5 
        label: rootantiX17.1 uuid: 88c8fde5-424a-4ac8-83df-a28c42b70b21 
        ID-2: /home size: 28.71 GiB used: 3.35 GiB (11.7%) fs: ext4 dev: /dev/sda6 
        label: homeantiX uuid: e223f9df-7359-46b0-a6d3-b990ef31c996 
        ID-3: swap-1 size: 1.95 GiB used: 1.4 MiB (0.1%) fs: swap dev: /dev/sda7 label: N/A 
        uuid: 47c3fab3-e197-4e6e-91c3-02027737517c 
      Unmounted:
        ID-1: /dev/sda1 size: 37.27 GiB fs: ntfs label: IBM_PRELOAD uuid: 50CC97BCCC979AB4 
        ID-2: /dev/sda2 size: 7.4 MiB fs: <root required> label: N/A uuid: N/A 
        ID-3: /dev/sda3 size: 1 KiB fs: <root required> label: N/A uuid: N/A 
      USB:
        Hub: 1-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 speed: 480 Mb/s 
        chip ID: 1d6b:0002 
        Hub: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s 
        chip ID: 1d6b:0001 
        Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s 
        chip ID: 1d6b:0001 
        Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s 
        chip ID: 1d6b:0001 
      Sensors:
        System Temperatures: cpu: 45.0 C mobo: 42.0 C 
        Fan Speeds (RPM): cpu: 2960 
      Info:
        Processes: 152 Uptime: 39m Init: SysVinit v: 2.88 runlevel: 5 default: 5 Compilers: 
        gcc: 6.3.0 alt: 6 Shell: bash v: 4.4.12 running in: lxterminal inxi: 3.0.29 
      alastair@antix1:~
      $ 
      
      

      $ inxi -Fxz
      System:
      Host: antix1 Kernel: 4.9.126-antix.1-486-smp i686 bits: 32 compiler: gcc v: 6.3.0
      Desktop: IceWM 1.4.2 Distro: antiX-17.2_386-full Helen Keller 4 October 2018
      base: Debian GNU/Linux 9 (stretch)
      Machine:
      Type: Laptop System: IBM product: 2373Q91 v: ThinkPad T42 serial: <filter>
      Mobo: IBM model: 2373Q91 serial: <filter> BIOS: IBM v: 1RETDRWW (3.23 )
      date: 06/18/2007
      Battery:
      ID-1: BAT0 charge: 47.8 Wh condition: 48.6/47.5 Wh (102%) model: SANYO IBM-92P1137
      status: Unknown
      CPU:
      Topology: Single Core model: Intel Pentium M bits: 32 type: MCP arch: M Dothan
      rev: 6 L2 cache: 2048 KiB
      flags: sse sse2 bogomips: 2797
      Speed: 1400 MHz min/max: 600/1800 MHz Core speed (MHz): 1: 1400
      Graphics:
      Device-1: AMD RV200/M7 [Mobility Radeon 7500] vendor: IBM ThinkPad T4x Series
      driver: radeon v: kernel bus ID: 01:00.0
      Display: server: X.Org 1.19.2 driver: ati,radeon unloaded: fbdev,modesetting,vesa
      resolution: 1024×768~60Hz
      OpenGL: renderer: Mesa DRI R100 (RV200 4C57) x86/MMX/SSE2 DRI2 v: 1.3 Mesa 13.0.6
      direct render: Yes
      Audio:
      Device-1: Intel 82801DB/DBL/DBM AC97 Audio vendor: IBM ThinkPad T4x Series
      driver: snd_intel8x0 v: kernel bus ID: 00:1f.5
      Sound Server: ALSA v: k4.9.126-antix.1-486-smp
      Network:
      Device-1: Intel 82540EP Gigabit Ethernet vendor: IBM Thinkpad driver: e1000
      v: 7.3.21-k8-NAPI port: 8000 bus ID: 02:01.0
      IF: eth0 state: down mac: <filter>
      Device-2: Qualcomm Atheros AR5212 802.11abg NIC vendor: Phillips driver: ath5k
      v: kernel port: 8000 bus ID: 02:02.0
      IF: wlan0 state: up mac: <filter>
      Drives:
      Local Storage: total: 111.79 GiB used: 7.22 GiB (6.5%)
      ID-1: /dev/sda vendor: Toshiba model: MK1234GAX size: 111.79 GiB
      Partition:
      ID-1: / size: 9.55 GiB used: 3.87 GiB (40.5%) fs: ext4 dev: /dev/sda5
      ID-2: /home size: 28.71 GiB used: 3.35 GiB (11.7%) fs: ext4 dev: /dev/sda6
      ID-3: swap-1 size: 1.95 GiB used: 3.7 MiB (0.2%) fs: swap dev: /dev/sda7
      Sensors:
      System Temperatures: cpu: 43.0 C mobo: 43.0 C
      Fan Speeds (RPM): cpu: 2921
      Info:
      Processes: 152 Uptime: 42m Memory: 1002.4 MiB used: 662.1 MiB (66.1%) Init: SysVinit
      runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.29
      alastair@antix1:~
      $

      `$ inxi -r
      Repos:
      Active apt repos in: /etc/apt/sources.list.d/antix.list
      1: deb http://nl.mxrepo.com/antix/stretch stretch main nosystemd nonfree
      Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
      1: deb http://ftp.uk.debian.org/debian/ stretch-updates main contrib non-free
      Active apt repos in: /etc/apt/sources.list.d/debian.list
      1: deb http://ftp.uk.debian.org/debian/ stretch main contrib non-free
      2: deb http://security.debian.org/ stretch/updates main contrib non-free
      No active apt repos in: /etc/apt/sources.list.d/onion.list
      No active apt repos in: /etc/apt/sources.list.d/various.list
      alastair@antix1:~
      $

      If I could get to some basic help pages that would be useful but no Documentation or on-line help appear.
      Grateful for some guidance when you have time please.
      Budgie

      #18404
      Anonymous
        Helpful
        Up
        0
        ::

        .

        .
        The commit containing the patch is here: https://github.com/antix-skidoo/gufw-jessie/commit
        I’m not motivated to check whether it is still applicable to whatever version of gufw is shipped with antiX nowadays

        #18405
        Moderator
        caprea
          Helpful
          Up
          0
          ::

          Yes, the gui of ufw firewall is irritating
          But like mentioned above you can see if everything is running with
          sudo ufw status

          If I select Help from the Firewall window all I appear to get is a File Manager window opened at root

          You are right , if ufw is unlocked and clicking on the help-button–>documentation , Spacefm opens as root.That’s a strange behavior.

          • This reply was modified 4 years, 3 months ago by caprea.
        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.