Does iRule support any port define for HTTP and HTTPS?
Does iRule support any port define for HTTP and HTTPS? Our organization does not use 80 and 443. F5 version: 12.1.2 Application: PeopleSoft 9.2
Solution from PeopleSoft to capture clients IP Address is below but where do I put this lines of code on the F5 and how does it pick up the port that we define on the F5?
Note: If you are trying to capture the clients IP Address and you use route-domains ensure you adjust the irule of the F5 to ensure you are not sending as part of the WL-Proxy-Client-IP to the weblogic servers. In the documentation above it shows: when HTTP_REQUEST { HTTP::redirect [https://[getfield]https://[getfield [HTTP::host] ":" 1][HTTP::uri] }
You will want to setup the irule like the one below if using route-domains, which strips out the %1.
when HTTP_REQUEST { HTTP::header insert WL-Proxy-Client-IP [getfield [IP::client_addr] "%" 1] }