Forum Discussion
yuanqiang_22112
Nimbostratus
Oct 12, 2016limit source ip connection
I want to limit client connection ,for example when the client ip1 connections equal 50,f5 reject it's access.
TayF5un
Nimbostratus
Oct 13, 2016You should try irule which is below. However, I have not tried before.
when HTTP_REQUEST {
set getCount [table key -count -subtable [IP::client_addr]]
if { $getCount > 50 } {
reject
}
else {
return
}
}
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