Firewall advice

While reading suggestions for a linux distro recommendation for newbies, I saw mention of firewalls – which made me take a look at iptables and the Arch wiki.

With my limited firewall knowledge, I got as far as:
iptables v1.8.3 (legacy): can’t initialize iptables table `filter’: Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Would be appreciated to read some basic firewall advice starting with novice level directions. —thanks

Unless you’re determined to learn iptables, my suggestion is to use a simpler solution like ufw (uncomplicated firewall). Here’s an Arch Wiki link for info:

1 Like

I agree ufw is very easy to use. You can add rules to it and it’s simple, straight forward and understandable.


definitely just use UFW, much simpler to manage

1 Like

It’s been my experience with Cinnamon that sometimes when you launch gufw, it doesn’t come up. If this happens:
log out
Click where you can change DE to log into, and choose “Cinnamon (Software Rendering)”
Do what you need to do, then log out and log in as normal with just “Cinnamon”.

After setting up your firewall for the first time, don’t forget
# systemctl enable ufw
# systemctl start ufw
to ensure the firewall service will start at boot-up