You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(vpcnatgw): cannot DNAT same EIP and same external port on two different protocols (#6201)
You should be able to DNAT 1.1.1.1:22 TCP and 1.1.1.1:22 UDP on the same EIP, but the check doesn't check if it is two different protocols. On Windows, RDP asks to open both the UDP and TCP protocols on the same port. It cannot be done behind an EIP attached to a VPC NAT gateway because of this bug.
Signed-off-by: SkalaNetworks <contact@skala.network>
(cherry picked from commit bc813ee)
err=fmt.Errorf("failed to create dnat %s, duplicate, same eip %s, same external port '%s'is using by dnat %s", dnatName, eipName, externalPort, d.Name)
err=fmt.Errorf("failed to create dnat %s, duplicate, same eip %s, same external port '%s', same protocol'%s' is using by dnat %s", dnatName, eipName, externalPort, protocol, d.Name)
0 commit comments