Forum Discussion
rexmcordero_144
Nimbostratus
Sep 29, 2015Return a page when a port is accessed
Hi,
I want to create an iRule that if a specific port is accessed, it will return a page like "You used port 143, please use 8080".
when CLIENT_ACCEPTED {
if { [TCP::local_port] == 1...
Stanislas_Piro2
Cumulonimbus
Sep 29, 2015Hi,
If the VS is defined with * service port, create another VS with port 143 and profile HTTP.
enable the following irule on this VS:
when HTTP_REQUEST {
HTTP::respond 200 content " You used port 143, please use 8080."
}
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