Forum Discussion
2 Replies
Sort By
- HarshaPotharajuNimbostratus
I guess this is what you are looking for. Test it and let me know how this is working.
when CLIENT_ACCEPTED { if { [IP::client_addr] equals "x.x.x.x" } { pool your_pool_name log local0. "Request for service at port [TCP::local_port] from [IP::client_addr]"} else { reject } }
- oguzyCirrostratus
Hi,
You can use Data Groups within an irule.
For instance;
when CLIENT_ACCEPTED { Comparing source IP to a list of entries in a LTM data-group. if { not ( [class match [IP::remote_addr] equals data_SourceIps ] ) } { reject; } }