Basically I want to do PAT to multiple ports on a single server. The problem that I am seeing is that regular IP load-balancing is not forwarding http requests to specific directories. We can overcome this with a redirect to the appropriate directory but the IP and port is not being masked.
So the vip is X.X.X.1:15000 and we are trying to load-balance to X.X.X.2 on ports 80 81 82 to a directory X.X.X.2/TEST. How can I NAT and load-balance to multiple ports while masking the rserver IP address?
I have seen multiple examples, but nothing with this combination.
If I put:
rserver host TEST1
ip address X.X.X.2 80
rserver host TEST2
ip address X.X.X.2 81
rserver host TEST3
ip address X.X.X.2 82
The traffic is load-balanced and nat'd, but the directories are not reachable. If I do the redirect, the destination IP and port are not masked.