Close Menu
Pineapples Update –Pineapples Update –

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    I tried 0patch as a last resort for my Windows 10 PC – here’s how it compares to its promises

    January 20, 2026

    A PC Expert Explains Why Don’t Use Your Router’s USB Port When These Options Are Present

    January 20, 2026

    New ‘Remote Labor Index’ shows AI fails 97% of the time in freelancer tasks

    January 19, 2026
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Pineapples Update –Pineapples Update –
    • Home
    • Gaming
    • Gadgets
    • Startups
    • Security
    • How-To
    • AI/ML
    • Apps
    • Web3
    Pineapples Update –Pineapples Update –
    Home»AI/ML»Yes, you need a firewall on Linux – why and what to use
    AI/ML

    Yes, you need a firewall on Linux – why and what to use

    PineapplesUpdateBy PineapplesUpdateAugust 5, 2025No Comments4 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Yes, you need a firewall on Linux – why and what to use
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Yes, you need a firewall on Linux – why and what to use

    Jusun/Getty

    Key takeaways of zdnet

    • Linux is extremely safe, but you still have a firewall.
    • You should know if your ISP hardware (gateway) uses a firewall.
    • One of the easiest Linux Firewalls is UFW and its GUI Sidekic, GUFW.

    I have been using Linux for almost 30 years. In those years, I have only experienced a security problem (a rootkit on a server that I have inherited). The reason for this is the increased security of Linux. Outside the box, it includes a tight permission system and safety mechanisms (such as Apparmor and Selinux) that perform a wonderful job of shutting down the operating system.

    But what about firewall? You know about the firewall, especially if you have used Windows (because the OS of Microsoft always depends on them). And before you think, no matter how safe your web browser is, it is not enough.

    Also: Thinking about switching on Linux? 9 things you should know

    Almost every linux distribution ship with a firewall is ready to use. Funny, however, some distribution ships with firewalls disable.

    It seems to be a counter -opinion for an operating system that hangs its hat on safety.

    The big question you can ask is, “Does Linux also need a firewall?”

    Before answering that question, I will ask you some questions:

    • Is your Linux machine on home network?
    • Is there a router in your home network that includes a firewall?
    • Is your router updated regularly?
    • If your home network has a router with firewall, is there any ports open?
    • Do you have sensitive data on your computer?

    You may not know the answers to those questions, which means you may have to contact your ISP and ask them about hardware in use. For example, AT and T fiber includes a firewall on its gateway hardware. The Xfinity Gateway of Comcast also includes a firewall.

    Too: 8 things you can do with Linux that you can’t do with Macos or Windows

    If you know that your ISP hardware contains a firewall, then your Linux machines require a firewall otherwise low pressure.

    But does this mean that you should forget about the firewall?

    I say no.

    I say, more security, better.

    For example, your ISP gateway goes without updates, which can leave it unsafe for attacks. Some Ne’er-DO-Well figures find out which gateway you are using, it breaks through unpublished defense, and has access to your network. If your Linux machine is not preserved via firewall, this bad actor can reach the machine through an open port and occurs on the data present in it.

    You do not want this.

    Argu … Firewall.

    But whom should you use?

    Different distribution ships with separate firewalls. For example, imperfect firewall (UFW) with a ship Ubuntu (and Ubuntu), while fedora (and based on Fedora) ship with firewold. Although both are solid options, I node UFW because it is so easy to use. And if you do not want to use the command line, then there are GUI apps that you can install to control UFW.

    Too: You can try Linux without digging windows first – how is here

    Even from the command line, UFW is easy. To enable it, release the command:

    Enable Sudo UFW

    Once capable, all the ports are closed, and reaching your machine is rapidly made more challenging. However, suppose you use SSH to regularly access that machine from your lan. For that, you can release the command:

    Sudo UFW SSH allows

    Or maybe you want to allow SSH from an IP address only within your LAN, which can be done with it:

    Sudo UFW allows any port 22 proto on ip_address on TCP

    Where iP_Address is the address of the machine you want to allow.

    The same actions with firewold looks like this:

    Sudo Firewall-CMD-Zone = Public–RMANENT-ADD-Service = Ssh

    Or

    Sudo Firewall-CMD–RMANENT-ADD-Source = IP_ADDRESS-ZONE = Drop
    Sudo Firewall-CMD–Permanent–DD-Seva = SSH
    Sudo Firewall-CMD-Reload
    Sudo Firewall-CMD-List-All-Zone = Drop
    Sudo Firewall-List-All

    Where iP_Address is the address of the machine you want to allow.

    Obviously, UFW is an easy tool, and I would always recommend on firewolds for those who are only in Linux.

    And if you want GUI for UFW, try GUFW (which can be installed from your GUI app store).

    Finally, the answers to the questions are simple:

    • Do you need a firewall on Linux? – Yes
    • What should you use? – UFW

    Understand that if you want to use UFW on the Fedora-based system, you have to install it. To do this, issue the following order:

    Sudo SystemCl Stop Firewold
    Disable Sudo Systemctl Firewall
    Remove Sudo DNF Firewalld
    Install Sudo DNF UFW
    Enable Sudo UFW

    Now you have UFW running on your Fedora-based distribution.

    With the firewall being active, your Linux machine will be better preserved, should anyone go around your ISP’s hardware rescue. As usual, it is better to be safe from sorry.

    Get top stories of morning with us in your inbox every day Tech Today Newsletter.

    Firewall Linux
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticlePeople are using Chatgpt to write their text messages – here are how you can tell
    Next Article Trump CFTC Pick Brian Quintage questioned Kalshi relations
    PineapplesUpdate
    • Website

    Related Posts

    Startups

    These 7 Linux commands are obsolete so don’t use them – here’s why

    January 14, 2026
    Startups

    I tried the new Linux Mint 22.3 – it’s a masterclass in polish and quality of life improvements

    January 12, 2026
    Startups

    The 6 Linux distros I expect to rule in 2026 – and why

    January 6, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    Top Posts

    Microsoft’s new text editor is a VIM and Nano option

    May 19, 2025797 Views

    The best luxury car for buyers for the first time in 2025

    May 19, 2025724 Views

    Massives Datenleck in Cloud-Spichenn | CSO online

    May 19, 2025650 Views
    Stay In Touch
    • Facebook
    • YouTube
    • TikTok
    • WhatsApp
    • Twitter
    • Instagram
    Latest Reviews

    Subscribe to Updates

    Get the latest tech news from FooBar about tech, design and biz.

    Most Popular

    Google tests AI-operated audio overview in search results for some questions

    June 16, 20250 Views

    Yes, this was the original voice of the Garat in the trailer for the thief VR

    June 16, 20250 Views

    Best LC10 loadout in call of duty: Warzone

    June 16, 20250 Views
    Our Picks

    I tried 0patch as a last resort for my Windows 10 PC – here’s how it compares to its promises

    January 20, 2026

    A PC Expert Explains Why Don’t Use Your Router’s USB Port When These Options Are Present

    January 20, 2026

    New ‘Remote Labor Index’ shows AI fails 97% of the time in freelancer tasks

    January 19, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Facebook X (Twitter) Instagram Pinterest
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms And Conditions
    • Disclaimer
    © 2026 PineapplesUpdate. Designed by Pro.

    Type above and press Enter to search. Press Esc to cancel.