Forum Discussion
redirect based on port
redirect based on port hi i need to create vip that on diffrent port redirect to diffrent server
for example : vip --> server a vip:8081 --> server 2
4 Replies
- Soda_Cup_148395
Nimbostratus
You dont even need an iRule for this. A virtual server on the LTM can be an IP/port combination. Simple create 2 or more virtual servers listening on the ports you need, and attach the required pool to each. The destination port with be 'redirected.'
for example : vip --> server a vip:8081 --> server 2 or for example : vip --> server a vip:8082 --> server 3
create an individual VIP per port required. Same IP, different port, and allocate port in pool setup.
- ygross_312837
Nimbostratus
thats exactly ehat i did and it does not work when i add the port to vip it is going to nowhere
create an individual VIP per port required. Same IP, different port, and allocate port in pool setup.
Apply the entry port to the VIP (I will assume standard http) , create the pool with the backend server(s), associate the port at the pool level, then it will go from HTTP > Whichever port is associated with pool.
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