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...
nitass
Employee
Aug 31, 2014is it source port (client port) or destination port (virtual server port)? if it is destination, it is TCP::local_port.
when CLIENT_ACCEPTED {
Check if requested port is outside 18000 - 20999, 30000 - 30999
if { not ( [TCP::local_port] >= 18000 and [TCP::local_port] <= 20999 ) and
not ( [TCP::local_port] >= 30000 and [TCP::local_port] <= 30999 ) } {
Drop request
drop
}
}
TCP::local_port
https://devcentral.f5.com/wiki/iRules.tcp__local_port.ashxRecent 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