Forum Discussion
Ricardo73_14775
Nimbostratus
Mar 18, 2014ACL tcp port
allow a specific tcp port
Ricardo73_14775
Nimbostratus
Mar 19, 2014Hello 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.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects