F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

praveen_narasim's avatar
praveen_narasim
Icon for Nimbostratus rankNimbostratus
Jun 09, 2017

Irule for setting single IP and lookup for continent in geo location

I need an irule to allow only single IP and check continent for geo location

 

1 Reply

  • Can you test this out, refer WIKI

    when CLIENT_ACCEPTED {
    if {{[IP::client_addr] == "123.456.789.101"} {
    log local0. "IP [IP::client_addr] is in continent [whereis [IP::client_addr] continent ]"
    } else { } {
    drop
    }