Forum Discussion
Sero_83363
Nimbostratus
Feb 14, 2013Virtual Server configuration
Hi - I could use some advice on best practice.
For a virtual server that must listen on 2 ports for client
traffic. e.g. 8080 and 80 with each port serving the same data. Should I jus...
What_Lies_Bene1
Cirrostratus
Feb 14, 2013If your happy to apply an iRule (dropping non80/8080 traffic) to the All Ports VS the I'd go for option 1, two VSs. I wouldn't be happy with that option if you left the VS open to non port 80 and 8080 traffic (even if it isn't served). The admin saving with only having one HTTP VS outweighs managing a single simple iRule. The iRule would look like this (not sure if this needs the string command adding);
when CLIENT_ACCEPTED {
if { (([TCP::local_port] == “80”) or ([TCP::local_port] == “8080”)) ] } {
drop }
}
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
