使用 AWS re:Post 即表示您同意 AWS re:Post 使用條款

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

已提問 3 年前檢視次數 891 次
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
專家
已回答 3 年前
  • 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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南