Forum Discussion
sandiksk_35282
Mar 09, 2018Altostratus
I am little confused , just with src ip I can create an irule to all or drop the request.
But looking into the http request getting the src ip. Verify in the data group if the ip is listed allow if not drop the connection.
Can I still achieve this with an irule
- nag_54823Mar 09, 2018Cirrostratus
I didn't tested it but , you still can try something like below
when HTTP_REQUEST {
if { [class match [HTTP::header Client-IP] contains "ipaddress" ] } { reject } else { pool pool_name } }