JIMQ_46966
Aug 13, 2008Nimbostratus
Irule - 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"
Thanks a Bunch. - - -Jim
example 1
when CLIENT_ACCEPTED {if { [matchclass IP::local_addr] equals $::172.17.0.0/16] } {
close
}
}
or
example 2
when CLIENT_ACCEPTED {if { [matchclass IP::local_addr] equals $::172.17.0.0 255.255.0.0] } {
close
}
}