Forum Discussion
AJN_Network_Tea
Nimbostratus
Jan 09, 2017Filtering client IP using HSL in irules
We have the following hsl configured on the irule which works just fine with all the traffic. I need to add a filter on the below HSL config to log traffic only from specific client IP addresses. Any ...
Jan 09, 2017
Enclose the logic in an if statement:
if { [IP::addr [IP::client_addr] equals 1.2.3.4] } {
execute existing code
}Make sure to do it in both events and you should be fine.
/Patrik
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