02-18-2008 01:11 PM
Hello,
I have a CSS11501S-k8 unit which we use to load-balance etc our web and file servers. Is it possible for me to configure it in a way such that only users with an IP address from a specific country are let in to the backend web/file servers and users with IP Addresses from all other countries are redirected to another URL where we display them a "friendly" message?
Thanks
\R
02-19-2008 01:41 AM
If you know the ip addresses, yes this is possible.
For all the ip that you want to deny, create an ACL to match those ip addresses and use the 'prefer' command to redirect then to a service that would be a redirect.
ie:
service my-redirect
redirect ....
active
acl 1
clause 10 permit any
clause 99 permit any any destination any
apply all
Regards,
Gilles.
02-19-2008 10:33 PM
Hi Gilles,
thanks so much for the response. I guess that'll solve it except that I'll have to modify your suggestion such that I add the ALL IP ranges for the one country I want to permit and then at a lower priority rule redirect all others. So I'll have to find out all IP ranges for the 'good' country! Can I specify ranges instead of individual IPs? Or can I create a list of some sort and specify all desired IP ranges/subnets etc?
Thanks so much
\R
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide