Forum Discussion
HTTP/HTTPS Asymmetric-Routing iRule
What if we apply two iRules; one in the forwarding_VS (internal) and other on the new Perf_VS with FastL4 profile (External). I didn't get your point in your last post; but mostly the traffic subject to Asyemmetric routing is the reply traffic (Internet to LTM).
iRule1 (internal)
when CLIENT_ACCEPTED { set Bypass 1 log local0. “EST_CON IP: [IP::client_addr] TCP: [TCP::client_port]” }
iRule2 (external)
when CLIENT_ACCEPTED { if {$Bypass == 1} { return } elseif { switch -glob [TCP::local_port] { "80" - "443" - "8080" {pool AR-GW log local0. “AR_CON IP: [IP::client_addr] TCP: [TCP::client_port]” } } } else { drop log local0. “DR_CON IP: [IP::client_addr] TCP: [TCP::client_port]” }
}
Thnx, Aziz
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