Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Firewall?

  1. #1
    Join Date
    Jun 2013
    Beans
    18

    Firewall?

    Windows had a firewall, but was plagued with viruses anyway.

    Now that I have installed Ubuntu, should I consider some sort of firewall?

    My router does have a firewall though!

  2. #2
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    ufw

    There's not much need for a firewall, it is a technology that is overestimated. But here is some reading:

    https://help.ubuntu.com/community/DoINeedAFirewall

    If you still want one, you can turn on UFW. It's there by default, but not turned on. If you want a GUI for it then there is GUFW in the repositories which can be added with a few clicks.

  3. #3
    Join Date
    Mar 2011
    Beans
    701

    Re: Firewall?

    Firewalls reduce attack surface by limiting exposure of services that may accidentally be made public. If you are the only system behind your router it's just about 100% useless. If there is another system, i tcan protect you from a compromised system on there. If you are not behind a router it may be a good idea to use one.
    sig

  4. #4
    Join Date
    Jun 2013
    Beans
    18

    Re: Firewall?

    THanks.

  5. #5
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,791

    Re: Firewall?

    Linux pretty much *is* a firewall. The default install doesn't need any special netfilter rules.

  6. #6
    Join Date
    Jun 2013
    Beans
    4

    Re: Firewall?

    Quote Originally Posted by HermanAB View Post
    Linux pretty much *is* a firewall. The default install doesn't need any special netfilter rules.
    In what way is Linux a firewall? If you connect your computer directly to the internet without a router than use a firewall.

  7. #7
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Firewall?

    Quote Originally Posted by Blitzkriegz View Post
    In what way is Linux a firewall? If you connect your computer directly to the internet without a router than use a firewall.
    Ubuntu doesn't have any listening services by default, so there is nothing to access from the outside.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  8. #8
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Firewall?

    Quote Originally Posted by argvar View Post
    Windows had a firewall, but was plagued with viruses anyway.
    Firewalls won't protect you from downloading malware. However there are few such threats for Linux because of its small market share, its intrinsically better security (certainly compared to XP and earlier), and a more informed user population.

    Not following links to unknown sites or in email helps a lot. Looking at the destination of links is also useful. Something that claims to be taking you to a bank's website but has a URL that points to who-knows-where is a good indication.

    The biggest threat to most peoples' computers is the person sitting in the chair.
    Last edited by SeijiSensei; June 30th, 2013 at 01:50 AM.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  9. #9
    Join Date
    Feb 2010
    Location
    In My Food Forest
    Beans
    9,318

    Re: Firewall?

    If it makes you feel safe, then you may enable to UFW firewall by opening a terminal and pasting the following command
    Code:
    sudo ufw enable
    Code:
    *****@*****:~$ sudo ufw enable
    [sudo] password for *****: 
    Firewall is active and enabled on system startup
    *****@*****:~$
    If you find that you need to open ports for whatever reason, then you may want to install GUFW, which is a GUI for UFW.

    Go here to learn more about UFW https://help.ubuntu.com/community/UFW
    Cheers & Beers, uRock
    [SIGPIC][/SIGPIC]

  10. #10
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,791

    Re: Firewall?

    Unfortunately a firewall is not a magic unicorn that can protect you against evil spirits. The Linux network stack is pretty well debugged and doesn't need a firewall. Most 'hardware' firewalls run Linux. If Linux needed a firewall, then you would need to put a firewall in front of every firewall, recursively. That will be very good for a hardware vendor, but not so good for your wallet.

    If you need to protect a bunch of unmanageable Windows machines on a LAN, then set up a firewall on a Linux gateway. If your Linux machine is the only one, then don't bother.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •