hjadams123_1054
Dec 15, 2011Nimbostratus
when CLIENT_ACCEPTED {
if {[TCP::local_port] == 3389 and [HTTP:host] == "computer.termserver.com" }{
pool rdp_servers
} else {
pool default
}
}
i am not aware of fqdn in rdp packet or maybe i missed it.
sorry it is duplicated.
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
}
}
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
}
}
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
}
}
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
}
}