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

    Firewall Configuration with new change

    Scheduled Pinned Locked Moved IT Discussion
    centos 6.5
    62 Posts 6 Posters 13.8k Views
    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.
    • scottalanmillerS
      scottalanmiller @A Former User
      last edited by

      @thecreativeone91 said:

      It sounds like you need a router maybe? I'm not sure what the three nic's would be for with a server.

      My understanding here, and I could easily be wrong, is that the CentOS VM in question IS the router / firewall.

      LakshmanaL 1 Reply Last reply Reply Quote 0
      • LakshmanaL
        Lakshmana @scottalanmiller
        last edited by

        @scottalanmiller said:

        IS the router / firewall.

        I cant understood scott

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @A Former User
          last edited by

          @thecreativeone91 said:

          A firewall and router are two different things. Even though a router may contain a firewall. You need something to route between the networks. Opening the firewall won't do any good on it's own.

          He is correct. You cannot talk about the firewall function until you have built either a router or a bridge on the CentOS VM. It has to be one or the other first. Then you can implement a firewall on top of that.

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

            @Lakshmana said:

            @scottalanmiller said:

            IS the router / firewall.

            I cant understood scott

            To connect a WAN to a LAN there must be a router. There is no exception to this, it is a physical necessity of connecting two networks. In this case, it sounds like you want this CentOS server to be the thing that connects those two networks, is that correct?

            1 Reply Last reply Reply Quote 0
            • thanksajdotcomT
              thanksajdotcom @Lakshmana
              last edited by

              @Lakshmana said:

              @thecreativeone91 said:

              c 1918 none are a Public WAN.

              Yes it is for testing purpose only.So these IP are provided

              Ok, is the purpose of the firewall supposed to be for setting up a site-to-site VPN? That's what it sounds like to me.

              ? scottalanmillerS 2 Replies Last reply Reply Quote 0
              • ?
                A Former User @thanksajdotcom
                last edited by

                @thanksajdotcom said:

                @Lakshmana said:

                @thecreativeone91 said:

                c 1918 none are a Public WAN.

                Yes it is for testing purpose only.So these IP are provided

                Ok, is the purpose of the firewall supposed to be for setting up a site-to-site VPN? That's what it sounds like to me.

                I don't see anything about a VPN. Looks like a standard test environment. Just going about it the wrong way.

                1 Reply Last reply Reply Quote 0
                • thanksajdotcomT
                  thanksajdotcom
                  last edited by thanksajdotcom

                  Also, you've managed to give us the technical goal of what you're trying to accomplish, but you still haven't told us what the purpose of this firewall is. Is it to filter traffic, connect to another site as a VPN tunnel, act as a router, what? It may be several of those or none of those. But you haven't told us what you're trying to accomplish. WHY, from a business perspective, are you setting up this firewall?

                  LakshmanaL 1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User
                    last edited by

                    You be better off setting up Pfsense as the one with the WAN Nic, then using VM internal NICs for your servers on the LAN of Pfsense off of that.

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

                      @thanksajdotcom said:

                      Ok, is the purpose of the firewall supposed to be for setting up a site-to-site VPN? That's what it sounds like to me.

                      Oh this is going to get confusing very quickly. I don't see anything that suggests this. What part of his description made you feel that he wanted this?

                      1 Reply Last reply Reply Quote 1
                      • LakshmanaL
                        Lakshmana @thanksajdotcom
                        last edited by

                        @thanksajdotcom This firewall is just to access the LAN from WAN to connect SSH ports

                        thanksajdotcomT ? 2 Replies Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          Also, this is relatively complicated, because of technical reasons I'm not going to go into to save on confusion, but you cannot "open" a port on a firewall like this. You have to "port forward". So you have to know the IP Address to which you want Port 22 (SSH) to be forwarded. Only one machine on the LAN can have SSH accessed from the WAN.

                          thanksajdotcomT DashrenderD 2 Replies Last reply Reply Quote 1
                          • thanksajdotcomT
                            thanksajdotcom @Lakshmana
                            last edited by

                            @Lakshmana said:

                            @thanksajdotcom This firewall is just to access the LAN from WAN to connect SSH ports

                            @scottalanmiller said:

                            @thanksajdotcom said:

                            Ok, is the purpose of the firewall supposed to be for setting up a site-to-site VPN? That's what it sounds like to me.

                            Oh this is going to get confusing very quickly. I don't see anything that suggests this. What part of his description made you feel that he wanted this?

                            His diagram. It looks like he's trying to connect to other workstations.

                            1 Reply Last reply Reply Quote 0
                            • thanksajdotcomT
                              thanksajdotcom @scottalanmiller
                              last edited by

                              @scottalanmiller said:

                              Also, this is relatively complicated, because of technical reasons I'm not going to go into to save on confusion, but you cannot "open" a port on a firewall like this. You have to "port forward". So you have to know the IP Address to which you want Port 22 (SSH) to be forwarded. Only one machine on the LAN can have SSH accessed from the WAN.

                              Dang it you beat me to it.

                              1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User @Lakshmana
                                last edited by

                                @Lakshmana said:

                                @thanksajdotcom This firewall is just to access the LAN from WAN to connect SSH ports

                                SSH is open by default. I'm not sure what you mean access LAN from WAN unless you mean SSH tunneling?

                                thanksajdotcomT 1 Reply Last reply Reply Quote 0
                                • thanksajdotcomT
                                  thanksajdotcom
                                  last edited by

                                  @scottalanmiller is right. You need to forward external port 22 to internal port 22 on a specific IP. That is totally different and a firewall and every router pretty much in existence can do a basic port forward.

                                  1 Reply Last reply Reply Quote 0
                                  • DashrenderD
                                    Dashrender @scottalanmiller
                                    last edited by

                                    @scottalanmiller said:

                                    Also, this is relatively complicated, because of technical reasons I'm not going to go into to save on confusion, but you cannot "open" a port on a firewall like this. You have to "port forward". So you have to know the IP Address to which you want Port 22 (SSH) to be forwarded. Only one machine on the LAN can have SSH accessed from the WAN.

                                    On port 22.

                                    thanksajdotcomT 1 Reply Last reply Reply Quote 0
                                    • thanksajdotcomT
                                      thanksajdotcom @A Former User
                                      last edited by

                                      @thecreativeone91 said:

                                      @Lakshmana said:

                                      @thanksajdotcom This firewall is just to access the LAN from WAN to connect SSH ports

                                      SSH is open by default. I'm not sure what you mean access LAN from WAN unless you mean SSH tunneling?

                                      Port forwarding.

                                      1 Reply Last reply Reply Quote 0
                                      • thanksajdotcomT
                                        thanksajdotcom @Dashrender
                                        last edited by

                                        @Dashrender said:

                                        @scottalanmiller said:

                                        Also, this is relatively complicated, because of technical reasons I'm not going to go into to save on confusion, but you cannot "open" a port on a firewall like this. You have to "port forward". So you have to know the IP Address to which you want Port 22 (SSH) to be forwarded. Only one machine on the LAN can have SSH accessed from the WAN.

                                        On port 22.

                                        Right. You can forward different external ports to internal port 22 on different IPs. That's another way to do it.

                                        LakshmanaL ? scottalanmillerS 3 Replies Last reply Reply Quote 0
                                        • LakshmanaL
                                          Lakshmana @thanksajdotcom
                                          last edited by

                                          @thanksajdotcom said:

                                          nother way to do it.

                                          Can you explain how to do it in Ceentos in minimal mode?

                                          ? 1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User @thanksajdotcom
                                            last edited by

                                            @thanksajdotcom said:

                                            @Dashrender said:

                                            @scottalanmiller said:

                                            Also, this is relatively complicated, because of technical reasons I'm not going to go into to save on confusion, but you cannot "open" a port on a firewall like this. You have to "port forward". So you have to know the IP Address to which you want Port 22 (SSH) to be forwarded. Only one machine on the LAN can have SSH accessed from the WAN.

                                            On port 22.

                                            Right. You can forward different external ports to internal port 22 on different IPs. That's another way to do it.

                                            Too much work. Too much to keep track of.

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