Ask Your Question
0

Port Forwarding through virtual router ip address

asked 2013-03-13 20:43:42 -0500

jmurphy-s gravatar image

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

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2013-03-13 23:00:53 -0500

markmcclain gravatar image

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

edit flag offensive delete link more
0

answered 2013-03-13 23:35:42 -0500

jmurphy-s gravatar image

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.

edit flag offensive delete link more
0

answered 2013-03-14 12:11:16 -0500

jmurphy-s gravatar image

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?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-03-13 20:43:42 -0500

Seen: 775 times

Last updated: Mar 14 '13