Results 1 to 4 of 4

Thread: Does Linux have a Firewall by default?

  1. #1
    Join Date
    Mar 2011
    Beans
    261

    Does Linux have a Firewall by default?

    Does Ubuntu come with a Firewall pre-installed and running?

    If so, how can I see if it is working and/or configure it?

    If not, are there any out there?

  2. #2
    Join Date
    Feb 2008
    Location
    London
    Beans
    1,032
    Distro
    Ubuntu

    Re: Does Linux have a Firewall by default?

    Yes, it comes with a firewall by default, as do pretty much all Linux distros, but I must stress, it is very unlikely that the default settings are unsecure for your situation.

    If however you decide you want to change your firewall, there are many different tools to do so, which are called 'front ends'. They are all interfaces to the same firewall program which is called 'iptables' and is included with Linux.

    One of them is GUFW, to install it, use the software centre (you can also search for other firewall tools there), or enter:

    Code:
    sudo apt-get install gufw
    It will appear in the menu somewhere and you can go from there. However, as I said you should be fine with the default setup.

    EDIT: just to be clear, if you don't have a firewall configuration tool (such as GUFW), it does NOT mean there is no firewall running, it simply means you have a nice tool to add/change/remove rules from it with
    Server: 2.2GHz Athlon 64; 4GB; 2TB; Debian 5 x64
    LividEmperor: 3.3GHz i5 2500K; 8GB; 660GB; Ubuntu 10.10 x64 + Windows 7 x64
    Netbook1: 1.6GHz Atom; 2GB; 160GB; Ubuntu 10.10 x86
    Dogeatdog: 3GHz Phenom II; 3GB; 1TB; Windows 7 x64

  3. #3
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    6,596
    Distro
    Xubuntu Development Release

    Re: Does Linux have a Firewall by default?

    Read the stickies in the security discussions forum. I'll move this thread there. Bodhi.zazen's sticky is well worth reading.

    But in short, the firewall is installed, but not enabled as it's not really needed in a default install. If you do want to enable it anyway, the command sudo ufw enable will do it.

  4. #4
    Join Date
    Mar 2009
    Location
    dusseldorf, germany
    Beans
    115
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Does Linux have a Firewall by default?

    by default all incoming connections are not allowed in ubuntu, no need for a firewall. ufw firewall is by default disabled in ubuntu. it can be configured following this.

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
  •