Forum Discussion
jwah24_138500
Nimbostratus
Apr 08, 2014Multiple 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
Apr 08, 2014You 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_138500Apr 09, 2014
Nimbostratus
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!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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