Reject_connection_from_special_service_that_doesnt_use_http_profile_
Problem this snippet solves:
Below the iRules, it reject serverside connection from special service that doesn`t use http profile and reply "reset status" to the clientside.
Code :
when CLIENT_ACCEPTED { if {[active_members pool_wport] < 1 }{ pool pool_wport_sorry } else { pool pool_wport } } when SERVER_CONNECTED { if { [IP::addr [serverside {IP::remote_addr}] equals 172.18.10.115] } { reject } elseif { [IP::addr [serverside {IP::remote_addr}] equals 172.18.10.116] } { reject } }
Published Mar 18, 2015
Version 1.0No CommentsBe the first to comment