Forum Discussion
SWG iRule per-packet policy
You can do it with an iRule. It is not possible use iRules to switch PRPs, but you can create source Ip-based branches within a single per-request policy. In the Per-Request Policy, you can create an Empty action, and assign a branch to it with the following check:
expr { [IP::addr [mcget {session.user.clientip}] equals "10.0.0.0/8"] }
That branch will hit if the IP address comes from 10.0.0.0/8 subnet. There is an IP Subnet Match action the main access policy that is unfortunately not available in Per request access policy - so you need to create it manually.
- sachin_80710Feb 08, 2015
Nimbostratus
Thanks Michael, good I don't need irule. But as per SWG 11.6 implementation guide page 53 under Session variables for use in a per-requestpolicy. There they mentioned only 4 session that can be used in PRP. - Michael_Koyfma1Feb 08, 2015
Cirrus
This should work - try it.
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