Revision history [back]

click to hide/show revision 1
initial version

Port Forwarding through virtual router ip address

Is it possible to port forward on the virtual routers public ip address like you would on a physical router? I know you can add floating ip's to do this but isnt there a way to do it without adding a floating ip to every server you need to have the public access?

example: Tenant 1 has 2 vm's. 1 apache server and one database server

quantum router-create --tenant-id tenant 1 quantum router-interface-add newRouter privateSubNet quantum router-gateway-set newRouter publicSubnet

The router then gets assigned one of the available public addresses. lets say 1.1.1.1

can i route all port 80 traffic that hits 1.1.1.1 to the www server and all 3306 traffic to the db server

If im an idiot let me know.... It is quite possible that i need a nap :) Thanks