Forum Discussion
nitass_89166
Apr 11, 2015Noctilucent
but at the match conditions I couldn't find source address, in TCP.
no parameter means source address.
e.g.
root@(ve11c)(cfg-sync Disconnected)(Active)(/Common)(tmos) list ltm policy cpm1
ltm policy cpm1 {
controls { forwarding }
requires { tcp http }
rules {
rule1 {
actions {
0 {
forward
select
snat automap
}
}
conditions {
0 {
tcp
address
matches
values { 172.28.24.0/24 }
}
}
ordinal 1
}
}
strategy first-match
}
- refra_151287Apr 11, 2015Cirrusthanks nitass, but as per the below screenshot, I can't see address either, do I miss something? https://www.dropbox.com/s/e91wrzlzje9m873/nitass.PNG?dl=0
- andrew_C1Jul 03, 2015NimbostratusHi, just wanted to say thax for this, This post is the only place i have been able to find how to use a Policy based off client ip address! The non existent documentation around policies is terrible. From my perspective i would rather uses a Policy if a can rather then an irule, so when i leave a customer i leave them with something that doesn't require an understanding of TCL and F5 specific functions/operators. thax nitass, in conditions, operand = tcp event = request parameters = LEAVE IT BLANK condition= matches values = IP and Prefix
- andrew_C1Jul 03, 2015NimbostratusAlso i would up vote but i am to much of a peasant to be allowed (rep score to low)