• moonpiedumplings@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    ·
    18 hours ago

    On all modern linux’s, the iptables command is actually a compatibility layer controlling nftables.

    I prefer it over the nft command because it’s much easier to read and use. I only use the nft command when checking for the occasional chain/table that iptables didn’t show me.

  • Nester@feddit.uk
    link
    fedilink
    English
    arrow-up
    12
    ·
    21 hours ago

    I didn’t realise I wanted to read up about Linux firewalls, but apparently I did. Thanks

    • BeardedGingerWonder@feddit.uk
      link
      fedilink
      English
      arrow-up
      3
      ·
      13 hours ago

      I’ve wanted to for years. I’ve tried to multiple times. Like I love computers and programming I can get absolutely lost in code for hours. For whatever reason when I start to look at networking my brain switches off and says nope. I can clean enough to hack what I need for the most part, but of I strive for any depth of knowledge on the subject my brain shuts down.

      Hoping this article is the ticket.

  • ImgurRefugee114@reddthat.com
    link
    fedilink
    English
    arrow-up
    8
    ·
    20 hours ago

    networking.firewall.enable = true;

    Tap for spoiler

    Yeah I’m familiar with all the tools but - omg - have NixOS modules ever changed my life

  • Laser@feddit.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    20 hours ago

    No mention of bpfilter unfortunately, would have been helpful to get a rough overview