Forum Discussion
Mahi
Apr 01, 2020Cirrus
LTM Policy to select pool based on TCP port is not working
Hello Everyone, We are trying to do a POC where there is one Virtual Server listening on port '0' (basically all ports) and we would want to select the pool based on the remote port number usin...
Mahi
Cirrus
Thanks Dario, we tried that solution and its working.
For some reason, we need only one VIP and not use an iRule. Therefore, we decided to go via the policy route.
Apr 02, 2020
Hello Mahi.
Configure 3 VS is faster than configure a policy.
Anyway, I've tested in my lab and it's working fine using forward to pool (with "local - external" and automap)
ltm policy Policy_Test {
controls { forwarding }
last-modified 2020-04-02:09:07:31
requires { http tcp }
rules {
redirect {
actions {
0 {
forward
select
pool P-WEB_80
snat automap
}
}
conditions {
0 {
tcp
port
local
values { 80 }
}
}
}
}
status published
strategy first-match
}
KR,
Dario.
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