Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Firewall on Linux: nftables (a noob question)
#1
Hi!

I decided to put a firewall on my system as I am using a few (not much) web-facing stuff like Syncthing, and I saw that nftables is a good, simple option. I don't really need to have a GUI for that, and I'm willing to learn how to set this thing up using only the CLI interface or editing the .config files, but the problem is that most tutorials I could find on the internet only cover the nftables specific settings, which are just too much for me as I have almost zero knowledge about firewalls, including the terminology.

Can someone suggest me an introductory source material for setting up a firewall for noobs?

I have read the followings:
https://wiki.archlinux.org/index.php/Nftables
https://linuxandcaffeine.com/setup-a-sim...-nftables/
https://kernelnewbies.org/nftables_examples
https://linux-audit.com/nftables-beginne...filtering/
https://wiki.nftables.org/wiki-nftables/...management
My top 10 reasons to still use Arch after 2 months on my main PC at home.
Reply
#2
While the basic concepts of firewall related things are easy to understand, the common software implementation are quite overcomplicated and definitely not easy to use.

My go-to resource is this Arch wiki entry about how to create a "simple stateful firewall" with iptables. Maybe you can adapt it for nftables.
My website - My git repos

"Things are only impossible until they’re not." - Captain Jean-Luc Picard
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)