Transit Gateway data encryption

0

Hi, can anybody tell me if and how data is protected while it passes through a Transit Gateway? Consider following setup:

A <-----> TGW <-----> B
   IPSec  ???  IPSec

Traffic is encrypted between A and TGW and between TGW and B, but what about "within" TGW? Pointers to any documentation about what happens there highly appreciated...

Thanks,

Marc

Marc
已提问 2 年前568 查看次数
1 回答
1
已接受的回答

There's some detail missing here - how are the IPSEC tunnels being created? Are A and B instances or sites?

If I assume that you're using the AWS VPN service and that A and B are sites: The traffic within Transit Gateway is not encrypted. Think of Transit Gateway as a cloud-scale router. If you had a router that terminated two IPSEC tunnels and routed between them the traffic on the router is not encrypted as it passes through that device. That's because the router must decrypt the packet from (say) A, determine the appropriate destination (B in this case) and then encrypt it again before sending it onto B.

In general, there are many places in every network where (at least) the IP (and perhaps TCP) headers of a packet need to be visible in order to route the packet(s) correctly. For the payload to remain encrypted at that point requires application-layer security such as TLS. It's the only way to achieve end-to-end encryption between two hosts.

profile pictureAWS
专家
已回答 2 年前
  • Thanks for your reply and sorry for not being entirely clear. Yes, A and B are meant to be sites using the AWS VPN service.

    Think of Transit Gateway as a cloud-scale router

    This is what I expected, I just wanted to make sure.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则