Forum Discussion
forwarding virtual server, with a port range?
Hi,
I have used forwarding virtual servers in various ways but i have a reqt to forward traffic with a port range. For example, traffic will be going to a network destination but will be requesting a port in the range of 10000-12000.
No i do not like this either, but that's what 'they' want...
I don't want to do a wildcard port as i only want the specified range.
Is there a way to achieve this?
Thanks Jon
- JT_144596Nimbostratusoh and i'm not on version 11 yet! still at 10
You should be able to do this by setting up a wildcard forwarding virtual server and then applying an iRule to restrict the ports allowed. Something like this:
when CLIENT_ACCEPTED { if { ([TCP::local_port] < 10000) || ([TCP::local_port] > 12000) } { drop } }
- JT_144596Nimbostratus
Thanks Robert,
I'll give this a go.
Recent Discussions
Related Content
* 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