Forum Discussion
Justin_106597
Jan 20, 2015Nimbostratus
Codewhen CLIENT_ACCEPTED {
Check if client IP is not defined in the allowed_clients datagroup
if { not ([class match [IP::client_addr] equals Admin_Data_Group]) } {
Client not in allowed IP list, one more check to see whether destination TCP port is in the range of 50000 to 59999 inclusive
if { [TCP::remote_port] >= 80 or [TCP::remote_port] <= 443 } {
Drop further packets from the client
drop
}
}
}