Forum Discussion
Svevak_211593
Nimbostratus
Feb 16, 2016whitelist for IPs in iRule
Hello,
I would like to whitelist some IPs in an iRule. The IPs are defined in a datagroup.
Here is my code, but I'm not sure if this works...
when CLIENT_ACCEPTED {
if { ([class ...
Ryannnnnnnnn
Altocumulus
Feb 16, 2016when CLIENT_ACCEPTED {
if { [matchclass [IP::client_addr] equals datagroup-ntvSamsungSmartTVApp]) } {
pool SmartTV-pool
} else {
reject
}
}
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