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 ?
f51
Cumulonimbus
Jan 15, 2025Hello Khan,
Please follow below steps to configure geo-fencing in F5 AFM to allow access only from the USA and block all other countries:
- Log in to the F5 Configuration Utility.
- Navigate to Security > Network Firewall > Policy List.
- Create a New Firewall Policy.
- Define Rules for the Policy:
- Create an Accept rule for Source: Geolocation and select United States.
- Create a Reject/Drop rule for Source: Geolocation and select Not in United States.
- Save and Apply the Policy to the relevant virtual servers.
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