Forum Discussion

Reddy1's avatar
Reddy1
Icon for Altostratus rankAltostratus
Nov 14, 2018

Irule to assign the Access-policy based on the client-IP?

I have one Virtual server with one APM policy. The session timeout is configured with 24 hours. We have few client machines which requires to have 4 days of session timeout. I would like to have an other access policy created with a different timeout value.

 

I have the client-ip's for the machines which requires the second Policy. Can i create the Data-group with the client-IP's and configure an irule to assign the Access-policy based on the client-ip's matching the irule?

 

Thanks, Reddy

 

  • You can’t assign a different policy based on client IP...

     

    You can use layered virtual servers to select different virtual server based on client ip...

     

    But the easiest solution is to change timeout session based on client ip or username in vpe

     

    Look at this link about variable assign examples

     

    There are examples for timeout management