Pages

iRule select Pool on F5 big-ip


when HTTP_REQUEST {
    switch -glob [string tolower [HTTP::host]] {
     
        "abc*.com.vn" { pool Pool_01 }
     
        "xyz*.com.vn" { pool Pool_02}

.......


    }      
}



Select pool when check destination port of client

when CLIENT_ACCEPTED {
    if {([TCP::local_port] >= 2223)
    && ([TCP::local_port] <= 2230) } {
      pool Web01_range
    } else reject
}
thudinh Network and Security

No comments:

Adsense

Translate