Hi Aaron;
i have a forwarding virtual server for outbound traffic however not all traffic forwarded directly
i direct some traffic(HTTP, FTP, RTSP etc..) to traffic servers and process and route them afterwards.
for other traffic, F5 is a router and forwards them to internet without going traffic servers.
But i want also some specific sites to be routed directly from F5 without going to traffic servers although they are HTTP traffic.
i found some rule, and wonder if it should work?
class allowed_http_hosts {
"abc.com"
"cde.com" }
when HTTP_REQUEST {
if {[matchclass [string tolower [HTTP::host]] contains $::allowed_http_hosts]}{
pool ts }
else {
pool out }
}