Forum Discussion

smiley_dba_1116's avatar
smiley_dba_1116
Icon for Nimbostratus rankNimbostratus
Mar 22, 2016

F5 APM - iRule to choose which policy to intiate

is there a way to create a iRule that basically says that if you are coming from this one subnet, use this policy, if you use anything other subnet, hit this policy?

 

I've created a iRule whitelist data group before, but how can I utilize that for selecting policies?

 

RGW

 

1 Reply

  • Josiah_39459's avatar
    Josiah_39459
    Historic F5 Account

    I'm thinking redirecting to separate vips, or using a single policy with separate branches in the VPE, is probably the better way to do this. There is a command to execute access policies, but it is highly limited in usage.