I am attempting to map NODE:PORT based on requesting port. This will allow me to have a single Client facing IP and have many node port combinations on the backend. (not concerned about health monitoring or lb’ing for this implementation)
I created a data group called Node_Group using String
29999 10.190.7.64:22
39999 10.190.7.64:443
28888 10.190.7.63:22
38888 10.190.7.63:443
My Virtual is a public facing IP port 0 (any)
My iRule looks like this:
when CLIENT_ACCEPTED {
node [findclass [TCP::local_port] $::Node_Group " "]
}
It seems like pretty basic stuff. Am I missing something?
Thanks,