on 27-Jun-2016 09:12
Problem this snippet solves:
I want to filter IP traffic and depends ip redirect me to certain pages . believes this code does not work.
I hope and I can help will thank .
Code :
when HTTP_REQUEST { if { [IP::client_addr] equals "192.168.1.1" && "192.168.2.1" && "192.168.2.1" && "192.168.9.1" && [HTTP::uri] ends_with "/" } { pool Pool_App_Server } else { drop } }
Tested this on version:
11.6