Forum Discussion
Martin182
Cirrus
Jan 03, 2024Limit source address without address list
Hi guys ! Happy New Year ! I am struggling with the configuration of 2 redundant VS in different data centers, I need to limit the source addresses that will be able to connect to these VS. In one ...
JoseLabra
MVP
Jan 03, 2024Hii
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
Martin182
Cirrus
Jan 03, 2024Oh sorry, its a TCP VS, forget to indicate that
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
