Forum Discussion
5 Replies
Sort By
- Richard__HarlanHistoric F5 Account
You can add a Datagroup with IPs that are allowed.
when CLIENT_ACCEPTED {
if { ([whereis [IP::client_addr] continent] eq "EU") && not ( [class match [IP::client_addr] equals whitelist ) {
reject
}
Have not tested just the idea should work.
- marv_Williams_5Nimbostratus
Comes back as "Not well formed XML"
- Richard__HarlanHistoric F5 Account
Sorry I missed a few close brackets this on syntax checked on a LTM and loaded without a problem
when CLIENT_ACCEPTED { if { ( [whereis [IP::client_addr] continent] eq "EU") && not ( [class match [IP::client_addr] equals whitelist] ) } { reject }
}
- marv_Williams_5Nimbostratus
This one worked. I just need to create a whitelist group. Thanks
- IRONMANCirrostratus
Hi,
Can i use this irule for my LTM to block source base continents wise block list, also how to LTM know the continents IP's .Let me know that step also.