Forum Discussion
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] }
14 Replies
- chicago_330050
Nimbostratus
I was informed this setup doesn't work.
- Jeff_Maddox_394Historic F5 Account
What are the results or errors? What is the current configuration and rules?
- chicago_330050
Nimbostratus
Not sure, I just relay information from this posting to F5 admin.
How can we export/dump all configuration to text file for specific VIP?
- Jeff_Maddox_394Historic F5 Account
simplest way is to copy and paste from the bigip.conf file the relevant sections. and copy paste irules. It would be helpful to know what the error is. sometimes the redirect needs to be tweaked, for example.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com