Forum Discussion
Infinity05_1794
Nimbostratus
Aug 24, 2010Directing traffic based on port
Here's my issue, I have a GTM -> LTM setup and I need to allow both port 80 and 443 (ssl) traffic to a server. I wasn't sure what the best way to do this so I created two VIP on the LTM, one designe...
hoolio
Cirrostratus
Oct 07, 2010Hi,
Are you decrypting the SSL on LTM? If so, separate LTM virtual servers for HTTP and HTTPS would be the simplest. Else, you can create a single virtual server and pool both on port 0. You can then use a simple iRule or packet filters to restrict access to ports other than 80 and 443:
when CLIENT_ACCEPTED {
Check the requested port
switch [TCP::local_port] {
80 -
443 {
Do nothing. Default is to allow the request through to the pool
}
default {
Drop the connection
drop
}
}
}
Aaron
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