Arjun_Menon_343
Jan 13, 2019Nimbostratus
Virtual server with Private IP subnet and Geo location as source
We have requirement to match and allow the Private IP subnet and Geo location of QA for the virtual servers. I tried using the below Irule. Though the same is not working as only the first clause of the Irule is matched and remaining traffic is always discarded. Please help..
when CLIENT_ACCEPTED { if {([class match [IP::client_addr] eq private_net]) } { return } if { ([whereis [IP::client_addr]country] contains "QA") }{ return } else { discard } }