Forum Discussion
hooleylist
Oct 30, 2007Cirrostratus
You would still define the same pools and then use switch on TCP::local_port to select which pool to send the request to. Here's a simple example:
when CLIENT_ACCEPTED {
Check the requested port
switch [TCP::local_port] {
21 { pool isp1_router_pool }
25 { pool isp2_router_pool }
80 { pool isp1_router_pool }
443 { pool isp1_router_pool }
default { pool isp1_isp2_router_pool }
}
}
This might not handle FTP traffic though if the server needs to open a data connection back to the client. This is handled automatically with a VIP and FTP profile though.
Aaron