Discussions

Ask a Question
Back to All

Feature Request: automatic redirection based on GeoIP?

I'm curious if it's possible to add the ability to use GeoIP data to automatically redirect traffic to a 'local' (to the destination) proxy?

It's pretty straightforward to add a '*.co.uk' rule to redirect relevant traffic through a proxy located in the UK. However, it's not uncommon for UK-based companies to use 'generic' TLDs, or use services like CDNs/AWS etc. with those TLDs.

I'd like to be able to create a rule that redirects any query that resolved to a UK IP address (as reported by the GeoIP database) to use a proxy located in the UK.

I'm thinking that the cleanest implementation would be too add a option for the rule condition, i.e. 'country of destination' as a second choice besides 'domain'.