Forum Discussion
APM with F5 2000S
Hi Guys,
I have created an access policy that invokes radius authentication for any user coming from internet. I have also added in that policy that it should not invoke any authentication when users are coming from subnet let's say 192.168.x.x.
The part which is not working is when users are coming from 192.168.x.x. In the logs I see "Rule evaluation with error" and it prompts for Radius authentication.
The policy for excluding the subnet is: expr { [IP::addr [mcget {session.user.clientip}] equals "192.168.0.0/16"] }
Any suggestions on where I am going wrong
Saurav
2 Replies
- arpydays
Nimbostratus
try using an rule,
when ACCESS_SESSION_STARTED { if { [IP::addr [ACCESS::session data get session.user.clientip] equals 192.168.0.0/16] } { ACCESS::session data set session.user.radiusbypass 1 } }then in VPE
expr { [mcget {session.user.radiusbypass}] == 1 } where did you use your code? could you show the policy?
you could try the ip with the quotes. beyond that nothing stands out a lot, i usually just try part by part until it works :)
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