Forum Discussion
rafaelbn_176840
Altocumulus
Jan 09, 2018APM conditional policy
Hello devs! Happy 2018 guys!
We have an APM on our environment serving as VPN. The policy first authenticates the user against AD and after talks to a SMS device users can receive their two fact...
rafaelbn
Cirrostratus
Jan 09, 2018Hello Daniel!
I came up with the following iRule but I don't think it's working. Sorry to bother you... I'm still learning both iRules and APM.
when CLIENT_ACCEPTED {
if {[active_members pool_SMS] > 1} {
set varSMS 1
} else {
set varSMS 0
}
}
I added this iRule inside a policy like this:
My VS still works but when I do a sessiondump --allkeys I don't see this varSMS variable.
Another question I have is how am I gonna evaluate this variable inside the APM policy?
Thank you so much!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
