Forum Discussion
Dormelchen_2406
Aug 15, 2014Nimbostratus
GeoIP Irule - what to do
hello together,
we have an virtual server with his irule.
Now we only want to allow access to this pool / server from poland and germany.
1) how can i solve this ?
2) the irule:
when H...
Dormelchen_2406
Aug 15, 2014Nimbostratus
maybe this ?
when CLIENT_ACCEPTED {
if {not ([whereis [IP::client_addr] country] eq "DE" or "PL")}{
reject
}
}
when HTTP_REQUEST {
set lowerURI [string tolower [HTTP::uri]]
switch [HTTP::host] {
"www.xxxx.com" {
?
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