Can I use Floating IP:Port?

asked 2015-09-29 04:05:05 -0500

Forge gravatar image

Are Floating IP's port-mapped 1:1 with the private IP of the instance?

e.g. Does floating ip: 192.168.0.5:10001 map with private ip: 10.0.0.5:10001.

In other words, can I forward packets coming in on that floating ip port to a second instance 10.0.0.6 using the 10001 port?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-09-29 04:39:12 -0500

capsali gravatar image

FIP's are 1:1 NAT on one port (private IP) on an instance. So from what i know you can not forward an ip port to another instance.

When you associate a FIP you select what private IP you bind that FIP to.

edit flag offensive delete link more

Comments

What I mean is, can I use the FIP:10001 and will it be NAT'ed to PIP:10001 or will the packet just be dropped?

Forge gravatar imageForge ( 2015-09-29 04:53:47 -0500 )edit
1

So...you assign a FIP to a private IP on an instance. By default all incoming ports are blocked. You need to create a security group rule for a port to be forwarded to the instance and assign that security group to the instance.

capsali gravatar imagecapsali ( 2015-09-29 06:08:19 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-09-29 04:05:05 -0500

Seen: 657 times

Last updated: Sep 29 '15