Forum Discussion
Using VS for port forwarding
This is very simple config, which has been troubling me a bit. I am trying to do this:
My webserver is running with 2 ports active 80 and 8080
Now this is what I am doing, point one domain directly to port 80 IP and then on LTM create a VS with service port 80 and in pool add server with port 8080, but for some reason, It doesn't forward anything to pool, I can not see anything in log, anyone has a clue ..
or is there something I am doing wrong ..
8 Replies
- JRahm
Admin
does the LTM have a route to your server, and if the LTM is not the default gateway for your server, have you enabled snat automap or added a snat pool? - Ruchir_79916
Nimbostratus
LTM can reach to server just fine .. Pool shows available and check is working too, but doesn't forward request .. - nitass
Employee
can you post output of these commands?
b virtual virtual_server_name list
b pool pool_name list - Ruchir_79916
Nimbostratus
Here:
Virtual list:
virtual lte.dtkcdn.com {
translate address disable
translate service disable
pool lte.dtkcdn.com
destination 10.150.100.8:http
ip protocol tcp
clone pools lte.dtkcdn.com clientside
}
Pool List:
pool lte.dtkcdn.com {
monitor all tcp
members 10.150.100.7:webcache {}
} - nitass
Employee
can you try this?
b virtual lte.dtkcdn.com snat automap translate address enable translate service enable - Ruchir_79916
Nimbostratus
awesome, that worked, do you mind explain what you think reason was ?? - nitass
Employee
awesome, that worked, do you mind explain what you think reason was ??of course.
snat automap - this will translate source ip to selfip address when bigip sends traffic to pool member. snat is required to force return traffic going to bigip in case pool member's default gateway is not bigip or client and pool member is in same subnet.
translate address enable - this will translate destination ip address from virtual server address to pool member ip address e.g. 10.150.100.8 to 10.150.100.7.
translate service enable - this will translate destination service port from virtual server service port to pool member service port e.g. 80 to 8080.
all of these are able to configure via webui as well. they are under virtual server setting but you have to change configuration combo box from basic to advance to display these options.
hope this helps. - Ruchir_79916
Nimbostratus
Cool, thank You so much for all the help ..
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
