Results 1 to 5 of 5

Thread: Ubuntu Uncomplicated Firewall turns off after every restart

  1. #1
    Join Date
    Mar 2013
    Beans
    75

    Ubuntu Uncomplicated Firewall turns off after every restart

    Hello to all,

    Using GUFW to configure unclomplicated firewall. Reading the following tutorial --> https://wiki.ubuntu.com/BasicSecurity/Firewall. Restarts cause firewall to turn off. How do you maintain firewall on permanently?

    Is there a way to edit existing rulesets? If so, how?

    Any help would be greatly appreciated...


    traxster
    Last edited by Traxster; March 27th, 2013 at 04:56 PM.

  2. #2
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Ubuntu Uncomplicated Firewall turns off after every restart

    Quote Originally Posted by Traxster View Post
    Hello to all,

    Using GUFW to configure unclomplicated firewall. Reading the following tutorial --> https://wiki.ubuntu.com/BasicSecurity/Firewall. Restarts cause firewall to turn off. How do you maintain firewall on permanently?

    traxster
    Your firewall is enabled. Just to be sure, you can run this command:
    Code:
    sudo ufw status
    You have to keep in mind that GUFW is a GUI and because the system does not know if the person opening it is the same person that enabled the Firewall in the terminal, you start it as the user you logged into your system with, so the GUI programs privileges are the same as that users privileges. And because the GUI can't positively tell that the firewall is active, it rather shows it as inactive.
    "Unlocking" actually means "providing the program with root privileges", so now the GUI can ask the firewall about it status and show it correctly.

  3. #3
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Ubuntu Uncomplicated Firewall turns off after every restart

    Quote Originally Posted by Traxster View Post
    Is there a way to edit existing rulesets? If so, how?
    Any help would be greatly appreciated...
    traxster
    You'll find a great tutorial here.

  4. #4
    Join Date
    Mar 2013
    Beans
    75

    Re: Ubuntu Uncomplicated Firewall turns off after every restart

    Quote Originally Posted by slickymaster View Post
    Your firewall is enabled. Just to be sure, you can run this command:
    Code:
    sudo ufw status
    You have to keep in mind that GUFW is a GUI and because the system does not know if the person opening it is the same person that enabled the Firewall in the terminal, you start it as the user you logged into your system with, so the GUI programs privileges are the same as that users privileges. And because the GUI can't positively tell that the firewall is active, it rather shows it as inactive.
    "Unlocking" actually means "providing the program with root privileges", so now the GUI can ask the firewall about it status and show it correctly.

    oh, ok, that makes perfect sense and when I checked the status of ufw it came up as active.

    thanks again

    traxster

  5. #5
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Ubuntu Uncomplicated Firewall turns off after every restart

    Quote Originally Posted by Traxster View Post
    oh, ok, that makes perfect sense and when I checked the status of ufw it came up as active.

    thanks again

    traxster
    Glad to help you.

    In order to let other people searching the forums know that this thread provides a working solution, don't forget to mark it as solved. See my signature on how to do it.

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
  •