pallocca_73085
Nov 17, 2010Nimbostratus
wildcard VS with iRule to limit TCP ports it accepts
Instead of creating five VS listening on five different ports I want to create a single "wildcard" VS accepting all ports and use an iRule to limit the ports the VS accepts.
1st. is this a good idea or is there a more efficient way of accomplishing this?
2nd. I am pretty new at writing iRules and am having some syntax errors on the rule I wrote (any tips??) -->
when CLIENT_ACCEPTED {
if { not([TCP::local_port] == 443) ||
not([TCP::local_port] == 1352) ||
not([TCP::local_port] == 1533) ||
not([TCP::local_port] == 8082) ||
not([TCP::local_port] == 8088)}
{drop}
}