Forum Discussion
Limit source address without address list
Hii
You can try with a iRule associate to the VS
Example:
when HTTP_REQUEST {
set client_ip [IP::client_addr]if { [IP::addr $client_ip equals 10.10.10.0/24] } {
log local0. "Allowed traffic from $client_ip"
} else {
log local0. "Blocked traffic from $client_ip"
reject
}
}
Best Regard
- Martin182Jan 03, 2024Nimbostratus
Oh sorry, its a TCP VS, forget to indicate that
- zamroni777Jan 04, 2024Nacreous
you can change JoseLabra irules to use "when CLIENT_ACCEPTED {...".
instead of irules, you can also use gui based local traffic policy better managebility
https://techdocs.f5.com/en-us/bigip-15-1-0/big-ip-local-traffic-management-getting-started-with-policies/introducing-local-traffic-policies.html#GUID-362BEFCA-726C-43FE-80E7-B29ABD4929AC
Recent Discussions
Related Content
* 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