Forum Discussion
wilfred_pascasi
Nimbostratus
Oct 12, 2006redirect aol proxy
I would like to redirect my traffic to a specific server within my server farm. If the users (clients) are AOL (1 of the IPs from AOL proxy) I will like to forward that traffic to server 1, otherwise the rest of the traffic should continue to be load balanced among the other servers.
2 Replies
- hoolio
Cirrostratus
There is a defined class of AOL proxy IP's stored in the /etc/default_classes.txt file in 4.5.x. You can reference this class in a rule. There is a releveant class example in this post: Click hererule route_aol_clients_rule { if (client_addr contains one of aol) { use pool aol_pool } else { use pool default_pool } }
Note that I didn't test the syntax, but I think it should give you a place to start. Repost if you run into any problems.
Aaron - wilfred_pascasi
Nimbostratus
Thanks. I was able to create another class as well.
rule redirect_class_rule {
if (client_addr equal one of aol or client_addr equal one of class2) {
use pool not_aol_class2_pool
}
else {
use pool test_pool
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects