Port Forwarding through virtual router ip address

Asked by Joshua Murphy

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

Question information

Language:
English Edit question
Status:
Answered
For:
neutron Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mark McClain (markmcclain) said :
#1

Sorry, but Quantum does not currently support IP port forwarding.

Revision history for this message
Joshua Murphy (jmurphy-s) said :
#2

Thanks for the quick reply. Is this something that is currently in the works or is there somewhere I cac +1 this. I think it would be a great feature to have and I would think that I'm not the only one who would jump on it.

Revision history for this message
Joshua Murphy (jmurphy-s) said :
#3

So i thought i had a way around this by setting up a vm as a router but that didnt seem to work either... It looks like quantum drops any packets that didnt originate from an internal ip address. any way around this?

Can you help with this problem?

Provide an answer of your own, or ask Joshua Murphy for more information if necessary.

To post a message you must log in.