Forum Discussion
pmaubo2_55685
Nimbostratus
Jan 04, 2013irule to drop all non-allowed network from going to url
Hi,
I want to drop any connection outside of a data class I created from getting to a certain URL.
So far I can drop the URL with the below irule. I just need a little help adding in...
What_Lies_Bene1
Cirrostratus
Jan 04, 2013In a rush but this should help you along;
Create a Data Group (called source-ips below) with just the IP addresses
of the hosts you’d like to accept
when CLIENT_ACCEPTED {
if { not [class match [IP::client_addr] equals source-ips] } {
reject }
}
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