Forum Discussion
redirect http/https to new destination port
folks
I'm running an ltm 11.4.1
I want to take a url
and redirect it to
I also want to change
to
is an irule the best way to approach this?
if so can someone point me in the right direction please
thanks to anyone taking the time to reply
4 Replies
- arpydays
Nimbostratus
Hi, Do you want to redirect the client to another VS listening on another port or do you want to forward traffic from your port 80/443 VSs to your server pool which is listening on the new ports? If it's the first option then irules below would be a good starting point;
when HTTP_REQUEST { HTTP::redirect "http://[HTTP::host]:7777[HTTP::uri]" } when HTTP_REQUEST { HTTP::redirect "https://[HTTP::host]:4443[HTTP::uri]" } - Nova_201357
Altocumulus
If you wanted to keep the front-end services as conventional ports (80 and 443) you could configure the virtual with translate-port enabled (the default) and in the pool, have the members configured for the ports where the service is actually available. That would accomplish a destination port re-write that is invisible to front end clients.
Mike
- Nova_201357
Altocumulus
If you directly connect to Does it work? Do you have HTTP and SSL profiles set up? Check SNAT too.
Cheers, Mike
- Afzal_Shaikh_31
Nimbostratus
Fine
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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