Forum Discussion
Pav_70755
Dec 20, 2011Nimbostratus
I've done something similar for SQL traffic and hostnames so you would need to create a VS listening on port 3389 and then it should work?
when CLIENT_ACCEPTED {
if { [matchclass [IP::remote_addr] equals $::Wip_Server] } {
pool SQL-Wip
} elseif { [matchclass [IP::remote_addr] equals $::UAT_Server] } {
pool SQL-UAT
} elseif { [matchclass [IP::remote_addr] equals $::Live_Servers] } {
although instead of re-directing traffic based on a tcp port you would just need to create datagroups with the IP addresses of the clients connecting via RDP and then the VS will only re-direct traffic to pools going to port 3389?
So you would create seperate VS for the different terminal server hostnames?
Pav
pool SQL-Live
}
}