Forum Discussion
youssef1
Sep 07, 2018Cumulonimbus
Hi Abirami,
You can try this irule:
when HTTP_REQUEST {
switch -glob [TCP::remote_port] {
"25" {
pool pool_25
}
"110" {
pool pool_110
}
default {
pool pool_default
}
}
}
I gave you an example with 2 différents ports you can add another if needed...
You have alos another solution, is to create one VS by Port (it will be more simple to manage an you don't need an Irule, more your monitoring will be more specific and simple).
Let me know if you need more details.
regards,