Forum Discussion
Johan_Lindroth
Nimbostratus
Sep 18, 2014help with iRule
Hi folks,
I'm trying to create an iRule that should handle a couple of things but I'm not sure how to manage this so I hope you can help me out.
The iRule should block all traffic that has a pa...
Mariusz_B
Nimbostratus
Sep 18, 2014Hello,
I can help you with number 2, as I have recently implemented something similar:
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 1.1.1.1] } {
pool abc.example.com_Pool
}
}
You can also use standard slash format for subnets:
[IP::addr [IP::client_addr] equals 1.1.1.0/24]
Regards
Mariusz
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