Forum Discussion
LTM Policy redirect to pool based on source IP
Hi,
I wonder if there is a way to redirect the traffic to a pool based on the actual client source IP using a policy rather then an iRule like in this post.
The operand "tcp" has "address "selector". Would it be considering both source and destination?
Or my only option is to use multiple virtual servers with the "source address" field in "general properties" limited to the subnet I need?
I'd rather have multiple rule in a policy than multiple virtual servers
Thanks.
1 Reply
- Javier_Somoza_3
Nimbostratus
Im using in v13 this policy condition to filter based on source IP (so it can be also used to redirect):
“TCP” – “address” – “matches” – “in datagroup” – at “request” time (apply traffic on “remote” side of “external” interface)
Also see:
F5 BIGIP – Bug when using datagroups in LTM policies
https://somoit.net/f5-big-ip/f5-bigip-bug-when-using-datagroups-in-ltm-policies
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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