Forum Discussion
enlowb_27270
Nimbostratus
Mar 19, 2009Irule conversion help needed
I have an irule from version 4.x that I need help converting to 9.x.
Version 4.x irule below:
if (client_addr == 172.27.16.0 netmask 255.255.255.0) {
use pool P...
The_Bhattman
Nimbostratus
Mar 19, 2009I think this is what you are looking for
when HTTP_REQUEST {
if { [IP::addr [IP::client_addr]/24 equals 172.27.16.0 ] } {
pool PS_Portal
} else {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
}
hope this helps
CB
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects