Forum Discussion
JRahm
Nov 14, 2006Admin
You're right, it should be server. I don't think the variable will be populated however, until the serverside events. You could use the virtual address, which in this context would be IP::local_addr.
You could easily extend this to limit connections by host/client/port/protocol/username/etc. Whatever you define as interesting on the clientside can be incremented/decremented as a connection count.
Unless there is a reason for your virtual servers to be separate, you could simplify your rules by collapsing your two virtuals into a wildcard virtual so you could handle both ports in a single iRule.