AWS NAT over Direct Connect

532 Views Asked by At

I have an issue in AWS where my remote direct connect sites unfortunately have over lapping address space and they both need access to an application running on a EC2 instance. I have the ability to NAT the remote sites and advertise the SNAT addresses over the private VIF, but I there a way to hide the EC2 instance behind NAT as well? So I have NAT both sides (in AWS hiding the EC2 instance hosting the APP and on my remote site) My application sources TCP to the remote sites and also receives TCP sessions sourced from the remote sites so I need bidirectional.

1

There are 1 best solutions below

0
tyChen On

As your design, you need to do NAT traversal or the two sides behind NAT can not connect to each other. So maybe you need to build to do something like NAT-PMP or Upnp to realise it.