Forum Discussion
Feb 13, 2015
Hi kulastone,
no need to "-glob" (it will save you CPU cycles) and no need to put port numbers into quotes.
I don´t have access to a LTM right now. But this one may work as well:
when CLIENT_ACCEPTED {
if {(([TCP::local_port] == 5010) ||
([TCP::local_port] == 5020) ||
([TCP::local_port] == 5030) ||
([TCP::local_port] == 5040))} {
pool pool_[TCP::local_port]
} else {
discard
}
}
Thanks, Stephan