ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    CentOS7 firewall?

    IT Discussion
    8
    96
    14.3k
    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.
    • A
      Alex Sage
      last edited by

      [root@nginx ~]# firewall-cmd --zone=public --add-port=http/tcp --permanent
      -bash: firewall-cmd: command not found
      
      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • A
        Alex Sage
        last edited by Alex Sage

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          I see the firewall installed in that list. The Linux firewall is called iptables.

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @Alex Sage
            last edited by

            @anonymous said:

            [root@nginx ~]# firewall-cmd --zone=public --add-port=http/tcp --permanent
            -bash: firewall-cmd: command not found
            

            That's a firewall management utility that it cannot find, not the firewall itself.

            1 Reply Last reply Reply Quote 1
            • A
              Alex Sage
              last edited by

              I thought CentOS7 was using firewalld, not iptables?

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • A
                Alex Sage
                last edited by

                Trying to follow @JaredBusch guide here:

                http://mangolassi.it/topic/6905/setting-up-nginx-on-centos-7-as-a-reverse-proxy

                1 Reply Last reply Reply Quote 1
                • A
                  Alex Sage
                  last edited by

                  So confused.....

                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                  • A
                    Alex Sage
                    last edited by

                    firewalld was not installed by default.

                    I thought it was? @JaredBusch the other day just told me it was too....

                    😞

                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @Alex Sage
                      last edited by

                      @anonymous said:

                      So confused.....

                      firewall-cmd is a core command for CentOS 7 I have no idea why that is not working for you. It is not an add on.

                      A 1 Reply Last reply Reply Quote 1
                      • A
                        Alex Sage @JaredBusch
                        last edited by

                        @JaredBusch Could I have bed media?

                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch @Alex Sage
                          last edited by

                          @anonymous said:

                          firewalld was not installed by default.

                          I thought it was? @JaredBusch the other day just told me it was too....

                          😞

                          I have never installed firewalld. It is part of a standard minimal install unless they changed that.

                          1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch @Alex Sage
                            last edited by JaredBusch

                            @anonymous said:

                            @JaredBusch Could I have bed media?

                            Or they changed it in the new media. I have been using an ISO from late 2014 i think. I never updated. I just let the initial yum-y update handle it. Let me just go download the new media and see myself before I answer that.

                            stacksofplatesS 1 Reply Last reply Reply Quote 0
                            • stacksofplatesS
                              stacksofplates
                              last edited by

                              Do you get anything if you type systemctl status firewalld?

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                Alex Sage @stacksofplates
                                last edited by

                                @johnhooks Nope.

                                stacksofplatesS 1 Reply Last reply Reply Quote 0
                                • stacksofplatesS
                                  stacksofplates @JaredBusch
                                  last edited by

                                  @JaredBusch said:

                                  @anonymous said:

                                  @JaredBusch Could I have bed media?

                                  Or they changed it in the new media. I have been using an ISO from late 2014 i think. I never updated. I just let the initial yum-y update handle it. Let me just go download the new media and see myself before I answer that.

                                  I just recently downloaded the ISO and its in there, no idea what's going on.

                                  A JaredBuschJ 2 Replies Last reply Reply Quote 0
                                  • A
                                    Alex Sage @stacksofplates
                                    last edited by

                                    @johnhooks Bad Media?

                                    1 Reply Last reply Reply Quote 1
                                    • stacksofplatesS
                                      stacksofplates @Alex Sage
                                      last edited by

                                      @anonymous said:

                                      @johnhooks Nope.

                                      Where did you get the ISO?

                                      A 1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch @stacksofplates
                                        last edited by

                                        @johnhooks said:

                                        @JaredBusch said:

                                        @anonymous said:

                                        @JaredBusch Could I have bed media?

                                        Or they changed it in the new media. I have been using an ISO from late 2014 i think. I never updated. I just let the initial yum-y update handle it. Let me just go download the new media and see myself before I answer that.

                                        I just recently downloaded the ISO and its in there, no idea what's going on.

                                        For the record my old ISO is CentOS-7.0-1406-x86_64-DVD.iso

                                        stacksofplatesS 1 Reply Last reply Reply Quote 0
                                        • A
                                          Alex Sage @stacksofplates
                                          last edited by

                                          @johnhooks CentOS Website, but I think I used the torrent. Bad Idea?

                                          MattSpellerM stacksofplatesS 2 Replies Last reply Reply Quote 0
                                          • stacksofplatesS
                                            stacksofplates @JaredBusch
                                            last edited by

                                            @JaredBusch said:

                                            @johnhooks said:

                                            @JaredBusch said:

                                            @anonymous said:

                                            @JaredBusch Could I have bed media?

                                            Or they changed it in the new media. I have been using an ISO from late 2014 i think. I never updated. I just let the initial yum-y update handle it. Let me just go download the new media and see myself before I answer that.

                                            I just recently downloaded the ISO and its in there, no idea what's going on.

                                            For the record my old ISO is CentOS-7.0-1406-x86_64-DVD.iso

                                            Not anywhere I can check but pretty sure mine is 7.1 something.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 5 / 5
                                            • First post
                                              Last post