ChristerB_10333
Feb 23, 2011Nimbostratus
Blocking a country and sending request to a pool
Hi!
I'm currently blocking some countries with an iRule using Geolocation and a data group list.
The iRule looks like this
when HTTP_REQUEST {
if { [matchclass [whereis [IP::client_addr] country] eq $::blocked_countries] } {
HTTP::redirect "http://no-access.com"
}
}
But I don't want to waste public IPs and want to send the request to a pool with servers that has some explaining text.
I can reject, drop or redirect to http but is it even possible to send to a pool?
//ChristerB