Forum Discussion
JIMQ_46966
Nimbostratus
Aug 13, 2008Irule - Destination Based Routing
Hello, I would like to use an Irule to block access from specific subnets. I was wondering what's the correct syntax for the "subnet" parameter. Can you use
"/16" or "255.255.0.0"
...
Nicolas_Menant
Employee
Aug 13, 2008
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr]/16 equals 172.17.0.0] } {
reject
}
}
reject: Click here
You can use the drop command instead of reject: Click here
Click here
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