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...
Hi Josh,
My original post should have used TCP::local_port to check the destination port on the client's packet--not the source port. I think this should do what you're looking for:
when CLIENT_ACCEPTED {
Check if requested port is outside 1000 - 2000
if { not (([TCP::local_port] > 1000 and [TCP::local_port] < 2000) or [TCP::local_port] == 3389 or [TCP::local_port] == 1500 or [TCP::local_port] == 161) }{
Drop request
drop
}
}
Aaron
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