开发者

IPSec NAT traversal

开发者 https://www.devze.com 2023-02-13 13:03 出处:网络
ESP transport mode is incompatible with NAT (not NAPT or PAT) I saw on many papers that because NAT device should calculate TCP checksom so transport mode wouldn\'t work with NAT.

ESP transport mode is incompatible with NAT (not NAPT or PAT)

I saw on many papers that because NAT device should calculate TCP checksom so transport mode wouldn't work with NAT.

开发者_StackOverflow中文版the question is - how the NAT device can differ between Transport mode or Tunnel mode given that next-header in ESP is encrypted.


The short answer is you wouldn't. Even though TCP/UDP traffic might not be able to pass through in transport mode, other traffic might be OK. I believe as a NAT box you'd do your best to get all ESP traffic to go where it belongs, based on the SPI.

You should read RFC 3715 for more details.

0

精彩评论

暂无评论...
验证码 换一张
取 消