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.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论