Forum Discussion
hooleylist
Sep 13, 2012Cirrostratus
CLIENT_ACCEPTED 🙂
when CLIENT_ACCEPTED {
if { [ IP::protocol ] == 6 } {
if { [TCP:local_port] == 80 } {
pool my-server-pool-80
}
}
}
It would probably be simpler and more efficient to create a separate port 80 and separate port 0 virtual server and avoid the iRule. Using a separate virtual server per protocol allows you to customize the traffic handling with profiles, idle timeouts, etc.
Aaron