Hi,
Need help in setting up an application.
VIP is on port 0 as the application can work on 30 ports.
Now i want to forward the traffic to the pool member on the same port as it arrives on the virtual server.
eg: abc.com:4448 → VIP is on port 0 so it will take it
Now it should go to the pool memebrs on port 4448 as well, and so on for any other request coming in to the VS
Hi Aditya,
define your Virtual Server as well as your Pool Members with the
:any
port setting (Port 0 in WebUI).
This will make sure your VS accepts traffic on every port and forwards the traffic to your pool members on the same port.
Cheers, Kai
You can define the virtual server with port translation disabled… the virtual server won’t change the port
Where is you certificates located?
Have you tried running a capture (tcpdump and ssldump) to determine where SSL communications are breaking down? If you’re not familiar with ssldump, check out:
https://support.f5.com/csp/article/K10209
.
Hey, Did not take a tcp and ssl dump, but I added the below iRule and it works for http port.
when CLIENT_ACCEPTED { if {([TCP::local_port] != 80) && ([TCP::local_port] != 8103)} { HTTP::disable } }
But this does not work for https, the request passes through to the backend pool member succesfully but the X-Forwarded IP is not present. I believe as we disable the http profile then the X-Forwarded_http profile is not used at all.
Any workaround for this?
So what worked was that i offloaded the ssl on the f5 instead of the server and wrote an irule to disable ssl for the ports coming in for http. 