Forum Discussion
lizunjjg_280139
Nimbostratus
Jan 30, 2019How do you compare irules
[http::payload] includes username.$ipusername=$clientip$username
if {$ipusername contains datagroup} { pool pool_test } else { reject
Jnon
Nimbostratus
Jan 30, 2019Still need more information, are you trying to authenticate a user by IP address? if you find the username in payload, if this is http, you can get the IP from the http header, in your example, it appears you're trying to match a user from a datagroup, which that will work, but your not very clear on what you know about the IP or what you want to do with it.
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