VMware Networking Community
Rob80
Contributor
Contributor

port forwarding

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

Reply
0 Kudos
5 Replies
Alex_Romeo
Leadership
Leadership

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

Blog: https://www.aleadmin.it/
Reply
0 Kudos
mauricioamorim
VMware Employee
VMware Employee

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).

Reply
0 Kudos
Rob80
Contributor
Contributor

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

Reply
0 Kudos
mauricioamorim
VMware Employee
VMware Employee

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.

Reply
0 Kudos
Rob80
Contributor
Contributor

I have added persistence to the load balancer however it didn't resolved an issue as I keep getting login window poping out, even if I typing correct login details. Basically cannot login to the site/s.

Reply
0 Kudos