← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1684371] Re: port mapping for floating ip

 

Thanks you, these spec cover all my needs.

** Changed in: neutron
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1684371

Title:
  port mapping for floating ip

Status in neutron:
  Invalid

Bug description:
  Now we just support floating ip for DNET and SNET. But we don't support port mapping .
  I think we can add a extension param "port" to the floating ip add allowed the same floating ip with different port associate to different local ip.

  For example:
       We have two vm192.168.1.10/192.168.1.11, one for Web server, another for Ftp server. We need to use the same external ip address a.b.c.d to connect this two server with different port.
       Then we could use:
  iptables -t nat -A PREROUTING -d a.b.c.d -p tcp --dport 80 -j DNAT --to 192.168.1.10
  iptables -t nat -A POSTROUTING -d 192.168.1.10 -p tcp --dport 80 -j SNAT --to 192.168.1.1

  iptables -t nat -A PREROUTING -d a.b.c.d -p tcp --dport 21 -j DNAT --to 192.168.1.11
  iptables -t nat -A POSTROUTING -d 192.168.1.11 -p tcp --dport 21 -i eth0 -j SNAT --to 192.168.1.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1684371/+subscriptions


References