You can use load-balancer with a single destination to achieve port NAtting.
On 6 November 2017 at 16:39, Manoj Sharma <manoj.sha...@nutanix.com> wrote: > Hi Guru, Mickey, > > > > Does OVN currently support PORT based SNAT? By looking at the code in > ovn/lib/actions.c, it seems to be doing only IP based NAT. > > Can you please confirm? > > > > This is the NAT table entry: > > > > ovn-nbctl lr-nat-list R1 > > > > TYPE EXTERNAL_IP LOGICAL_IP > EXTERNAL_MAC LOGICAL_PORT > > snat public_ip 192.168.1.0/24 > > > > When a VM in subnet 192.168.1.0/24 sends traffic to physical network, the > source IP is getting translated to the “public_ip” but source port is left > unchanged. > > > > Thanks > > Manoj > _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev