Forum Discussion
port 8530 to 8531 redirection on VS
I have to create the VS with 4 ports (80,440,8530,8531). Need redirection from port '80 to 443' and from port '8530 to 8531'. I have policies created for port redirection 80 to 443. But I also have to redirect the from port 8530 to 8531. What could be the possible solution. any irule or policies needed for that ? Please help !
4 Replies
- Shiva14
Nimbostratus
Are the both ports 8530/8531 are http based ? i assume user will use as http://xyz.com:8530 and secure https://xyz.com:8531 . Im trying to understand your requirement. why you need 8530/8531 to be typed by user/application can't you simple use a vip having port translation to 8530/8531 to backend pools.
- Pawan_Rao_31341
Nimbostratus
Thanks Shiva for viewing my post ! Actually It is a client request that we have to create a virtual server with ports (80,443,8530 & 8531). And we need to redirect the port 80 to 443 and port 8530 to 8531. So here I have policies created for http to https redirection but not for the port 8530 to 8531. So I am bit confused here. Hope you can help me out.
- Vijay_E
Cirrus
If you are sending the traffic to servers on different ports, you just have to configure the port number on the pool members:
VS:8530 <> Pool that contains members listening on port 8531 with "port-translation" enabled on VS.
If you are looking for redirect, use something like this:
http://domain.com:8531/ - Shiva14
Nimbostratus
in policy redirect use the same template as http to https redirect but just add you dst port: ex: you're redirect rule should look like : if you're 8531 is ssl use below else use b. https://[getfield [HTTP::host] ":" 1]:8531[HTTP::uri] http://[getfield [HTTP::host] ":" 1]:8531[HTTP::uri]
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