Forum Discussion
DarkSideOfTheQ_
Nimbostratus
Nov 20, 2008Virtual Server multiple service ports
Hello,
I am new to F5 devices and load balancers in general, only having limited exposure to some Foundry devices until now. I am curious about what I've read and seen thus far about cr...
Josh_41258
Nimbostratus
Sep 24, 2009Sorry for the bump, but could someone help me out with the proper syntax for something like:
when CLIENT_ACCEPTED {
Check if requested port is outside 1000 - 2000
if { [TCP::client_port] < 1000 or [TCP::client_port] > 2000 or [TCP::client_port] not 3389 or [TCP::client_port] not 1500 or [TCP::client_port] not 161 }{
Drop request
drop
}
I'm trying to allow a range (12000-13000) and several individual ports, but drop/reject the rest.
Thanks,
Josh
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