Forum Discussion

Phil_73545's avatar
Phil_73545
Icon for Nimbostratus rankNimbostratus
Aug 12, 2014

IRule for Wide IP on GTM

Hi Everyone I have several Wide IPs configured on GTM that I only want to be allowed to be accessed from Australia

 

What is the best way to do the restriction

 

I am running code 11.2.1 on Gtm

 

Thanks Phil

 

  • You could do this using topology records, returning a dummy IP when country not AU, or else the following should work;-

    when DNS_REQUEST {
        if {!([whereis [IP::client_addr] country] eq US) ]} {
            drop
            return
        }
    }