AngryCat_52750
Nov 22, 2013Nimbostratus
iRule - ACL - source ip and port
i am trying to setup an iRule to allow a specific group of IPs and now i need to add access to only a specific port.. what is the command for the port?? the current iRule for ports is below -
this event is triggered when a client - BIG-IP TCP connection is established
when CLIENT_ACCEPTED {
Check if the client IP is not part of the datagroup hosts/networks
if { not ([matchclass [IP::client_addr] equals allowed-servers]) }{
Log dropped requests
log local0. "Denied Access-servers: [IP::client_addr]"
drop the request
discard
}
}