Forum Discussion
hooleylist
Dec 05, 2012Cirrostratus
Hi Philippe,
This should be very simple using the whereis command to query the client IP address in the inbuilt GeoIP database:
https://devcentral.f5.com/wiki/iRules.whereis.ashx
when CLIENT_ACCEPTED {
if {not ([whereis [IP::client_addr] continent] eq "NA")}{
reject
}
}
Aaron