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

    Load balancer inside firewall or not...

    IT Discussion
    8
    28
    814
    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.
    • JaredBuschJ
      JaredBusch
      last edited by

      I am using HAProxy only as a proxy right now in a couple places (for Exchange on prem). But the load balancing setup is super simple.

      I like it.

      1 Reply Last reply Reply Quote 3
      • coliverC
        coliver
        last edited by

        HAProxy is really powerful. We use quite a few of them here.

        1 Reply Last reply Reply Quote 1
        • wrx7mW
          wrx7m
          last edited by

          You would put the HAProxy behind the firewall, right?

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

            @wrx7m said in Load balancer inside firewall or not...:

            You would put the HAProxy behind the firewall, right?

            Generally, yes. Because you don't want to load balance things that you want to block.

            JaredBuschJ 1 Reply Last reply Reply Quote 1
            • JaredBuschJ
              JaredBusch @scottalanmiller
              last edited by

              @scottalanmiller said in Load balancer inside firewall or not...:

              @wrx7m said in Load balancer inside firewall or not...:

              You would put the HAProxy behind the firewall, right?

              Generally, yes. Because you don't want to load balance things that you want to block.

              Right. For example, my firewall only sends ports 443 and 80 to haproxy.

              1 Reply Last reply Reply Quote 2
              • DashrenderD
                Dashrender
                last edited by

                Are you looking to load balance two ISP connections or two servers inside your network providing access to the outside?

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

                  @Dashrender said in Load balancer inside firewall or not...:

                  Are you looking to load balance two ISP connections or two servers inside your network providing access to the outside?

                  The OP clearly stated that the firewalls were already going to be setup for failover.

                  This is clearly a load balancer for the backend services. Not the WAN link..

                  DashrenderD 1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @1337
                    last edited by

                    @Pete-S said in Load balancer inside firewall or not...:

                    I also wonder about SSL for load balancers. Is it best to use SSL passthrough or SSL termination?

                    It has to terminate, or else it cannot load balance.

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

                      @JaredBusch said in Load balancer inside firewall or not...:

                      @Dashrender said in Load balancer inside firewall or not...:

                      Are you looking to load balance two ISP connections or two servers inside your network providing access to the outside?

                      The OP clearly stated that the firewalls were already going to be setup for failover.

                      Aww I didn't know what this meant, exactly

                      after the firewalls (pfsense in fail-over config).

                      But in seeing your response - OK yeah, the firewalls will be in fail-over config...

                      1 1 Reply Last reply Reply Quote 0
                      • wrx7mW
                        wrx7m
                        last edited by

                        Wasn't pfsense in production, I guess I would say, "frowned upon"?

                        1 travisdh1T black3dynamiteB 3 Replies Last reply Reply Quote 0
                        • 1
                          1337 @Dashrender
                          last edited by

                          @Dashrender said in Load balancer inside firewall or not...:

                          @JaredBusch said in Load balancer inside firewall or not...:

                          @Dashrender said in Load balancer inside firewall or not...:

                          Are you looking to load balance two ISP connections or two servers inside your network providing access to the outside?

                          The OP clearly stated that the firewalls were already going to be setup for failover.

                          Aww I didn't know what this meant, exactly

                          after the firewalls (pfsense in fail-over config).

                          But in seeing your response - OK yeah, the firewalls will be in fail-over config...

                          Yes, one firewall will do the work and the other one will be in standby. All firewall states are synced between them. If the first one fails the other one will take over all the IPs and duties.

                          Load balancer will send the request that passes the firewall to different webservers. If one webserver dies the other one(s) will do the job.

                          wrx7mW 1 Reply Last reply Reply Quote 0
                          • wrx7mW
                            wrx7m @1337
                            last edited by

                            @Pete-S said in Load balancer inside firewall or not...:

                            @Dashrender said in Load balancer inside firewall or not...:

                            @JaredBusch said in Load balancer inside firewall or not...:

                            @Dashrender said in Load balancer inside firewall or not...:

                            Are you looking to load balance two ISP connections or two servers inside your network providing access to the outside?

                            The OP clearly stated that the firewalls were already going to be setup for failover.

                            Aww I didn't know what this meant, exactly

                            after the firewalls (pfsense in fail-over config).

                            But in seeing your response - OK yeah, the firewalls will be in fail-over config...

                            Yes, one firewall will do the work and the other one will be in standby. All firewall states are synced between them. If the first one fails the other one will take over all the IPs and duties.

                            Load balancer will send the request that passes the firewall to different webservers. If one webserver dies the other one(s) will do the job.

                            Will you also have HA for the load balancers?

                            1 1 Reply Last reply Reply Quote 0
                            • 1
                              1337 @wrx7m
                              last edited by 1337

                              @wrx7m said in Load balancer inside firewall or not...:

                              Wasn't pfsense in production, I guess I would say, "frowned upon"?

                              Maybe, I don't care. Pfsense is just a customized freebsd installation with a gui as far as I'm concerned. And freebsd is solid.

                              1 Reply Last reply Reply Quote 0
                              • travisdh1T
                                travisdh1 @wrx7m
                                last edited by

                                @wrx7m said in Load balancer inside firewall or not...:

                                Wasn't pfsense in production, I guess I would say, "frowned upon"?

                                Yes it is.

                                JaredBuschJ 1 Reply Last reply Reply Quote 0
                                • 1
                                  1337 @wrx7m
                                  last edited by 1337

                                  @wrx7m said in Load balancer inside firewall or not...:

                                  @Pete-S said in Load balancer inside firewall or not...:

                                  @Dashrender said in Load balancer inside firewall or not...:

                                  @JaredBusch said in Load balancer inside firewall or not...:

                                  @Dashrender said in Load balancer inside firewall or not...:

                                  Are you looking to load balance two ISP connections or two servers inside your network providing access to the outside?

                                  The OP clearly stated that the firewalls were already going to be setup for failover.

                                  Aww I didn't know what this meant, exactly

                                  after the firewalls (pfsense in fail-over config).

                                  But in seeing your response - OK yeah, the firewalls will be in fail-over config...

                                  Yes, one firewall will do the work and the other one will be in standby. All firewall states are synced between them. If the first one fails the other one will take over all the IPs and duties.

                                  Load balancer will send the request that passes the firewall to different webservers. If one webserver dies the other one(s) will do the job.

                                  Will you also have HA for the load balancers?

                                  Yes, but I'm not sure how I will set it up. If firewall-1 goes down (completely or NIC failure) then firewall-2 will take over and that also means loadbalancer-2 will take over.

                                  1 Reply Last reply Reply Quote 1
                                  • wrx7mW
                                    wrx7m
                                    last edited by

                                    @travisdh1 said in Load balancer inside firewall or not...:

                                    @wrx7m said in Load balancer inside firewall or not...:

                                    Wasn't pfsense in production, I guess I would say, "frowned upon"?

                                    Yes it is.

                                    If you wanted to run a VM as your firewall, is there something that would be recommended?

                                    travisdh1T 1 Reply Last reply Reply Quote 0
                                    • travisdh1T
                                      travisdh1 @wrx7m
                                      last edited by

                                      @wrx7m said in Load balancer inside firewall or not...:

                                      @travisdh1 said in Load balancer inside firewall or not...:

                                      @wrx7m said in Load balancer inside firewall or not...:

                                      Wasn't pfsense in production, I guess I would say, "frowned upon"?

                                      Yes it is.

                                      If you wanted to run a VM as your firewall, is there something that would be recommended?

                                      VyOS

                                      wrx7mW 1 Reply Last reply Reply Quote 1
                                      • wrx7mW
                                        wrx7m @travisdh1
                                        last edited by

                                        @travisdh1 said in Load balancer inside firewall or not...:

                                        @wrx7m said in Load balancer inside firewall or not...:

                                        @travisdh1 said in Load balancer inside firewall or not...:

                                        @wrx7m said in Load balancer inside firewall or not...:

                                        Wasn't pfsense in production, I guess I would say, "frowned upon"?

                                        Yes it is.

                                        If you wanted to run a VM as your firewall, is there something that would be recommended?

                                        VyOS

                                        Oh yeah. I remember that now. Thanks.

                                        1 Reply Last reply Reply Quote 1
                                        • JaredBuschJ
                                          JaredBusch @travisdh1
                                          last edited by

                                          @travisdh1 said in Load balancer inside firewall or not...:

                                          @wrx7m said in Load balancer inside firewall or not...:

                                          Wasn't pfsense in production, I guess I would say, "frowned upon"?

                                          Yes it is.

                                          I disagree, pfSense is an absolutely solid choice.

                                          VyOS is even better, but there is nothing wrong with pfSense.

                                          It is how some people use it that causes problems.

                                          wrx7mW 1 scottalanmillerS 3 Replies Last reply Reply Quote 2
                                          • wrx7mW
                                            wrx7m @JaredBusch
                                            last edited by wrx7m

                                            @JaredBusch said in Load balancer inside firewall or not...:

                                            @travisdh1 said in Load balancer inside firewall or not...:

                                            @wrx7m said in Load balancer inside firewall or not...:

                                            Wasn't pfsense in production, I guess I would say, "frowned upon"?

                                            Yes it is.

                                            I disagree, pfSense is an absolutely solid choice.

                                            VyOS is even better, but there is nothing wrong with pfSense.

                                            It is how some people use it that causes problems.

                                            Do you have some points on how people's use causes problems? TIA

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