Forum Discussion
Hartono_Tjung_3
Oct 18, 2011Nimbostratus
Need about iRules to redirect certain outbound gateway
Dear All,
I need help regarding iRules. I have a wildcard Virtual Server for outgoing internet traffic called VS_Outbound, below is the detail
VS_outbound{
pools internet_gateway
}
pool internet_gateway {
members
ISPA_IP_address
ISPB_IP_Address
}
What I need is, when there are requests from users to http://update.microsoft.com then the F5 will pass the traffic into ISP_B member else , the traffic will go to ISP_A
Thanks
Hartono
- nitassEmployeecan you try this?
[root@iris:Active] config b rule myrule list rule myrule { when HTTP_REQUEST { if {[string tolower [HTTP::host]] equals "update.microsoft.com"} { pool internet_gateway member 1.1.1.1 } else { pool internet_gateway member 2.2.2.2 } } }
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