Forum Discussion
Ricardo73_14775
Mar 20, 2014Nimbostratus
Hello Jason,
I am trying to create en iRule where I can lockdown tcp port 80 and 443 and only allow a /24 subnet. I am not sure how to write that script.
I have this so far for the subnet, but not for the TCP ports
when CLIENT_ACCEPTED { if { not ( [class match [IP::client_addr] equals my_ip_dg] ) } { reject } }
If there is another way, by all means let me know.
Thank you for your help.