Forum Discussion
sundogbrew
Altocumulus
Jun 04, 2013IP restriction irule
I found this old thread and am trying to make it work.
https://devcentral.f5.com/community/group/aft/18255/asg/50
here is what I have
when CLIENT_ACCEPTED {
if { not ([clas...
Kevin_Stewart
Employee
Jun 06, 2013Does it discard as required? Are you using an address-based data group?
when CLIENT_ACCEPTED {
if { not ( [class match [IP::client_addr] equals ESB] ) } {
Log dropped requests
log local0. "Invalid client IP: [IP::client_addr] - discarding"
drop the request
discard
}
}
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