Forum Discussion
Gazzu
Nimbostratus
May 11, 2017port redirection from 80 to 20002
Hi, I have received a request wherein requester needs port redirection from 80 to 20002, please help to get the correct irule.
4 Replies
- P_K
Altostratus
are you trying to redirect on Virtual Server port?
- Gazzu
Nimbostratus
Yes
- Gazzu
Nimbostratus
I did like this, is it ok ?
when HTTP_REQUEST {
Redirect client to the full host nameHTTP::redirect "https://[HTTP::host]:9614[HTTP::uri]"
}
- P_K
Altostratus
You can try creating a virtual server with same IP and different Port number(9614) and apply an irule like below to the port 80 virtual server
when HTTP_REQUEST {
virtual virtualservername // replace with name of new virtual server
}
Hope this helps!
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
