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.
- 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 {
HTTP::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 {
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