(Solved) Firewall for Mint

JohnJ

Active Member
Joined
Apr 3, 2024
Messages
333
Reaction score
163
Credits
3,086
Greetings. My laptop setup is with Linux Mint 21.3 Virginia . Do I need a firewall? If so, how do I check if a firewall is already installed and activated? Can I turn the firewall off and on. If a firewall is not already installed on my system where and how can I install one and activate it. Thanks Cheers

HP-Pavilion-Power-Laptop-15-cb0xx
Kernel: 5.15.0-102-generic x86_64 bits: 64 compiler: gcc v: 11.4.0
Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33 wm: muffin dm: LightDM
Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy
Machine:
Type: Laptop System: HP product: HP Pavilion Power Laptop 15-cb0xx
v: Type1ProductConfigId serial: <superuser required> Chassis: type: 10
serial: <superuser required>
Mobo: HP model: 836B v: 46.23 serial: <superuser required> UEFI: Insyde
v: F.14 date: 02/23/2018
Battery:
ID-1: BAT0 charge: 41.9 Wh (77.3%) condition: 54.2/54.2 Wh (100.0%)
volts: 16.4 min: 15.4 model: HP Primary serial: N/A status: N/A
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse
serial: 00-00-00-00 charge: 55% (should be ignored) status: Discharging
CPU:
Info: quad core model: Intel Core i7-7700HQ bits: 64 type: MT MCP
arch: Kaby Lake rev: 9 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
Speed (MHz): avg: 906 high: 924 min/max: 800/3800 cores: 1: 923 2: 902
3: 924 4: 900 5: 900 6: 900 7: 900 8: 900 bogomips: 44798
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
Device-1: Intel HD Graphics 630 vendor: Hewlett-Packard driver: i915
v: kernel ports: active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 00:02.0
chip-ID: 8086:591b
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Hewlett-Packard
driver: nvidia v: 535.247.01 pcie: speed: 2.5 GT/s lanes: 8 ports:
active: none empty: HDMI-A-2 bus-ID: 01:00.0 chip-ID: 10de:1c8d
Device-3: Chicony HP Wide Vision FHD Camera type: USB driver: uvcvideo
bus-ID: 1-4:3 chip-ID: 04f2:b593
Display: x11 server: X.Org v: 1.21.1.4 driver: X:
loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa gpu: i915
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1368x768 s-dpi: 96
Monitor-1: eDP-1 model: LG res: 1368x768 dpi: 101 diag: 395mm (15.5")
OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2)
v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.3 direct render: Yes
Audio:
Device-1: Intel CM238 HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a171
Device-2: NVIDIA GP107GL High Definition Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel pcie: speed: 2.5 GT/s lanes: 8
bus-ID: 01:00.1 chip-ID: 10de:0fb9
Sound Server-1: ALSA v: k5.15.0-102-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel pcie:
speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:095a
IF: wlo1 state: up mac: d4:25:8b:2d:c5:a3
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel pcie: speed: 2.5 GT/s
lanes: 1 port: 3000 bus-ID: 05:00.0 chip-ID: 10ec:8168
IF: eno1 state: down mac: 80:ce:62:37:8f:5e
Bluetooth:
Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
bus-ID: 1-7:4 chip-ID: 8087:0a2a
Report: hciconfig ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: D4:25:8B:2D:C5:A7
Drives:
Local Storage: total: 2.27 TiB used: 30.2 GiB (1.3%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 500GB
size: 465.76 GiB speed: 31.6 Gb/s lanes: 4 serial: S4EVNM0WA05540V
temp: 30.9 C
ID-2: /dev/sda vendor: Seagate model: ST2000LM007-1R8174 size: 1.82 TiB
speed: 6.0 Gb/s serial: WDZA4LYV
Partition:
ID-1: / size: 191.28 GiB used: 30.2 GiB (15.8%) fs: ext4
dev: /dev/nvme0n1p2
ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat
dev: /dev/nvme0n1p1
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2
file: /swapfile
Sensors:
System Temperatures: cpu: 34.0 C pch: 32.5 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 280 Uptime: 3m Memory: 15.5 GiB used: 1.35 GiB (8.7%)
Init: systemd v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12
Packages: 2365 apt: 2349 flatpak: 16 Shell: Bash v: 5.1.16
running-in: gnome-terminal inxi: 3.3.13
 


UFW should already be installed, as you're using Mint.

I do not bother with a firewall these days. I previously used a hardware firewall and have used a number of software firewalls.

It's my view that I know, within reason, what's on my system and what I expect that system to do. If it acts abnormally, I'll look into it. Otherwise, I consider it good to go.

Now, that is just my opinion and how I do things. There are many firewall advocates, here and elsewhere.

Which is to say, it's a very personal choice. It's sort of like a 'hosts' file to block domain names from your network. It's a tool but how you use it is a very personal choice. It's much like which distro and desktop environment you want to use. It's personal.

If you're new to Linux, I'd probably suggest considering a firewall. Mint should already have UFW installed and ready to turn on.
 
yes, the firewall is a necessity.

FIREWALL --ufw....uncomplicated Firewall

sudo ufw enable <<<<< In terminal

check it's on?... sudo ufw status
 
Once it is on, that's it.

It survives reboots, shut downs etc etc

In normal circumstances, there is no need for adjustment of firewall rules. The default settings are quite perfect

It just works
 
UFW should already be installed, as you're using Mint.

I do not bother with a firewall these days. I previously used a hardware firewall and have used a number of software firewalls.

It's my view that I know, within reason, what's on my system and what I expect that system to do. If it acts abnormally, I'll look into it. Otherwise, I consider it good to go.

Now, that is just my opinion and how I do things. There are many firewall advocates, here and elsewhere.

Which is to say, it's a very personal choice. It's sort of like a 'hosts' file to block domain names from your network. It's a tool but how you use it is a very personal choice. It's much like which distro and desktop environment you want to use. It's personal.

If you're new to Linux, I'd probably suggest considering a firewall. Mint should already have UFW installed and ready to turn on.
Thank you. Got it. Cheers
 
yes, the firewall is a necessity.

FIREWALL --ufw....uncomplicated Firewall

sudo ufw enable <<<<< In terminal

check it's on?... sudo ufw status
Thanks Condo. Yes, checked and it's installed and on. Cheers
 
@JohnJ
If you are connecting to the internet via a commercially supplied router from a telecommunications company, which is a common means of getting online for home systems, the router will almost certainly be running a default firewall which for many users is entirely sufficient. One needs to decide these things themselves of course.
 
@JohnJ
If you are connecting to the internet via a commercially supplied router from a telecommunications company, which is a common means of getting online for home systems, the router will almost certainly be running a default firewall which for many users is entirely sufficient. One needs to decide these things themselves of course.
Thanks Osprey. Understood. Cheers
 
The Mint firewall is off by default but it's a good idea to turn it on...you can do this by going to System Settings and launching it from there...
1754369608291.png


1754369639466.gif
 


Follow Linux.org

Members online

No members online now.

Top