Forum Discussion
jwah24_138500
Apr 08, 2014Nimbostratus
Multiple Service Ports on a Single VS
Hey guys,
I've seen a few articles on this already, but am really new to the F5's and am looking for additional clarification. We looking at load balancing an application that uses the following p...
- Apr 08, 2014
You would create 'service-port-range' as a string type data group under Local Traffic -> iRules -> Data Group List. Populate the data group with your port objects.
Then use the iRule to reference it and reject anything not in the list:
when CLIENT_ACCEPTED { if { ! [class match [TCP::local_port] equals service-port-range] } { reject } }
Cory_50405
Noctilucent
You would create 'service-port-range' as a string type data group under Local Traffic -> iRules -> Data Group List. Populate the data group with your port objects.
Then use the iRule to reference it and reject anything not in the list:
when CLIENT_ACCEPTED {
if { ! [class match [TCP::local_port] equals service-port-range] } {
reject
}
}
jwah24_138500
Apr 09, 2014Nimbostratus
Thank you so much! I had seen references to the iRule, but had no idea about the data group list. This is working perfectly now!
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