Forum Discussion
Anush
Nimbostratus
Jun 18, 2019prevent users to access URL using IP
Hi Experts, how do I prevent users to access the URL using IP? If uses access using IP, would like to drop those connections. Thanks
Cody_Green
Employee
Jun 18, 2019An easy way would be to leverage the black list feature in AFM (which is including in Better and Best licensing bundles). If you don't have AFM then you can leverage an iRule that looks for IPs inside a data group. You could base the code off this example but instead of setting reqBlock to 1 just reset the connection right then - no need for the ASM_REQUEST_DONE event.
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