• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

UFW firewall

Scheduled Pinned Locked Moved
Linux Problems
2
4
601
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y
    yuma
    last edited by Nov 16, 2020, 7:18 PM

    This is not a problem.

    Just wanted to let you know I use UFW on Ubuntu as my firewall. The install script was not able to automatically disable it - no problem, I did it manually. (If not known the command was ‘sudo ufw disable’.)

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Nov 16, 2020, 7:32 PM

      @yuma Which version of FOG and Ubuntu do you use?

      We use exactly the same command to disable the Ubuntu firewall (code ref). So it’s interesting to here this did not work in your case.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      Y 1 Reply Last reply Nov 16, 2020, 7:40 PM Reply Quote 0
      • Y
        yuma @Sebastian Roth
        last edited by Nov 16, 2020, 7:40 PM

        Forgot to mention I used the latest install script, I believe, fog 1.5.9. On the latest Ubuntu 20.04.1.

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Nov 17, 2020, 10:00 AM

          @yuma Ok, turns out that even though we use ufw disable it does not properly remove all the chains and rules it creates. This seems to be a known issue.

          While we surely can add this block of iptables calles to clean it up I am wondering if we should actually do this as it’s really ufw’s job to do.

          iptables -P INPUT ACCEPT
          iptables -P FORWARD ACCEPT
          iptables -P OUTPUT ACCEPT
          iptables -t nat -F
          iptables -t mangle -F
          iptables -F
          iptables -X
          

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            1/4
            Last post

          159

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project