Forum Discussion
mbamusa_59409
Nimbostratus
Jan 24, 2012Restrict Access based on country using LTM or ASM
hi all;
could you please help me to find a way to restrict access to virtual server for some countries using irule and GEOLocation Data Base .
thank you
Mbamusa
nitass
Employee
Jan 24, 2012can you try this?
[root@ve1023:Active] config b rule myrule list
rule myrule {
when CLIENT_ACCEPTED {
switch [whereis [IP::client_addr] country] {
CN -
RU { drop }
default {
do something else
}
}
}
}
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