Results 1 to 4 of 4

Thread: ubuntu firewall ?

  1. #1
    Join Date
    Apr 2021
    Beans
    2

    ubuntu firewall ?

    sudo ufw default deny


    The ubuntu firewall only uses the above sentence.
    Is it safe?

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

    Re: ubuntu firewall ?

    Here's what the man page shows about that command:

    default allow|deny|reject DIRECTION
    change the default policy for traffic going DIRECTION, where DIRECTION is one of
    incoming, outgoing or routed. Note that existing rules will have to be migrated
    manually when changing the default policy. See RULE SYNTAX for more on deny and
    reject.
    Verify you have the correct rules in place by running the following:

    Code:
    sudo ufw status
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

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

  3. #3
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: ubuntu firewall ?

    For typical home users, it is sufficient.
    There are exceptions for systems running network services. If you didn't specifically setup up a service, don't worry.

  4. #4
    Join Date
    Apr 2021
    Beans
    40

    Lightbulb Re: ubuntu firewall ?

    there is always the gui app if you wish to tweak the ufw :

    Code:
    sudo apt install gufw

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
  •