shredderfood.net
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
lemmydividebyzero@reddthat.com to Linux@lemmy.worldEnglish · 13 hours ago

Linux Firewalls: How to Actually Secure a Cloud Server (iptables, nftables, firewalld, ufw)

blog.hofstede.it

external-link
message-square
9
link
fedilink
  • cross-posted to:
  • [email protected]
59
external-link

Linux Firewalls: How to Actually Secure a Cloud Server (iptables, nftables, firewalld, ufw)

blog.hofstede.it

lemmydividebyzero@reddthat.com to Linux@lemmy.worldEnglish · 13 hours ago
message-square
9
link
fedilink
  • cross-posted to:
  • [email protected]
A practical guide to the four major Linux firewall technologies - iptables, nftables, firewalld, and ufw. Covers real-world cloud server hardening with concrete examples, from locking down SSH to b...
  • esc@piefed.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 hours ago

    What does it do?

    • Gregers@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 hours ago

      Deletes /dev/null obviously

      • esc@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 hours ago

        For me it’s clearly not obvious what exactly ‘enabling firewall’ entails, what policy is applied, what rules, etc., etc.

        • ImgurRefugee114@reddthat.com
          link
          fedilink
          English
          arrow-up
          2
          ·
          5 hours ago

          There are sensible defaults but it ultimately depends on what the module is doing and how you configure it.

          https://github.com/NixOS/nixpkgs/blob/8c91a71d13451abc40eb9dae8910f972f979852f/nixos/modules/services/networking/firewall.nix

          The beauty is that this, or your own custom modules, become a declarative and reproducible abstraction layer which (if properly written) lets you focus on the what rather than the how.

          … You could also write a bunch of scripts, which is what I used to do before I joined the cult.

Linux@lemmy.world

linux@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you’re a seasoned Linux enthusiast or just starting your journey, we’re excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let’s dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 73 users / day
  • 565 users / week
  • 664 users / month
  • 672 users / 6 months
  • 1 local subscriber
  • 18.2K subscribers
  • 67 Posts
  • 116 Comments
  • Modlog
  • mods:
  • MigratingtoLemmy@lemmy.world
  • BE: 0.19.19
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org