Forum Discussion
ukhan20
Cirrus
Jan 15, 2025Geo-fencing for block and allow one country
how to do Geo-fencing in F5 Advanced Firewall Manager (AFM) to allow access from only one country, such as USA , and block all other countries ?
JesseR
Nimbostratus
Jan 16, 2025It is not AFM but one work around is to make an Irule that would drop all outside connections. Something like:
when HTTP_REQUEST {
if { [whereis [IP::client_addr] country] != "US" } {
drop
}
}
This would drop all not united states based IPs.
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
