4 Replies Latest reply on Oct 9, 2019 6:00 AM by mauricioamorim

    port forwarding

    Rob80 Novice

      Hello,

       

      I have an issue on my external router with forwarding the same port for different web servers and wonder if this can be done via Load Balancing on NSX-T and then point all ports to LB VIP on external router?

       

      Thanks

        • 1. Re: port forwarding
          AlessandroRomeo68 Expert

          Hi,

           

          I have read this article and it may be useful to you:

           

          Provisioning a Load Balancer for the NSX-T v2.4 Management Cluster

           

          aromeo

          • 2. Re: port forwarding
            mauricioamorim Hot Shot
            VMware Employees

            With the NSX-T LB you can have a virtual server that receives all your requests on a given port and redirects them to specific server pool according to configured rules.

             

            Take a look at the presentation in NSX-T LB Encyclopedia , which shows many ways of doing this, more specifically at the part about LB Rules (HTTP or HTTPS).

             

            • 3. Re: port forwarding
              Rob80 Novice

              Hi all,

               

              I followed NSX-T LB Encyclopadia, section L7 HTTPS and done the following settings:

              • Load balancer I setup and connected to T1 router
              • Build 2 number of virtual servers where one with port 443 and second with port 80 on teh same LB VIP ip
              • point DNS records to LB VIP which is on the same subnet as Sharepoint servers
              • and finally I have added two server pools with 2 IP's from sharepoint WFE's (first pool => WFE1:80 second pool => WFE1:443 and WFE2 respectively)

               

              Giving all above, when I type LB VIP ip to the address bar it loads to IIS website, which I presume demonstrates that LB does works however if I type site collection http address it allows me to login but it won't load anything.

               

              Any help would be appreciated.

               

              Thanks

              • 4. Re: port forwarding
                mauricioamorim Hot Shot
                VMware Employees

                Have you configured persistance? If you have authentication on your web server persistance is important so that subsequent request doesn't go to another server that did not go through authentication process.