colleen-anthony
Uploaded by
10 SLIDES
233 VUES
100LIKES

Understanding NAT: Protocols, Addressing, and STUN Responses in Networking

DESCRIPTION

This document delves into the details of Network Address Translation (NAT), exploring its various configurations, including public and private address mapping. It discusses the implications of NAT on data packets, focusing on TCP and UDP protocols, the significance of ports, and different NAT types (like Symmetric and Full Cone NAT). Additionally, it covers STUN requests, their responses, and the behaviors of different NAT scenarios, providing insights into network architecture and troubleshooting strategies for maintaining connectivity in diverse environments.

1 / 10

Télécharger la présentation

Understanding NAT: Protocols, Addressing, and STUN Responses in Networking

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Version IHL Total Length Type of Service Identification Flags Fragment Offset Time To Live Protocol = 6 Header Checksum IP Header Source Address Destination Address Options Padding Source Port Destination Port Sequence Number TCP Acknowledgment Number Data offset S Y N F I N U R G A C K P S H R S T Window Checksum Urgent Pointer Padding TCP Options TCP Data

  2. 192.9.200.1 Source: 10.0.0.1 Dest: 192.9.200.1 10.0.0.1 Private Address Realm Host A Host B  Source: 192.9.200.1 Dest: 10.0.0.1 Public Internet

  3. Public Internet Private Address Realm 192.9.200.1 Source: 10.0.0.1/2000 Dest: 192.9.200.1/80 Source: 139.130.1.1/3000 Dest: 192.9.200.1/80 10.0.0.1 Site NAT NAT Binding 10.0.0.1 / 2000 139.130.1.1 / 3000 Host A Source: 192.9.200.1 Dest: 10.0.0.1/2000 Source: 192.9.200.1/80 Dest: 139.130.1.1/3000 Host B

  4. Host B Source: Z / 3001 Dest: B / 90  Source: A / 2001 Dest: B / 90 Port 90 Initial Packet  Port 91  Port 2001  Site NAT Host A Port 90 Port 91 NAT Binding NAT Filter Local Addr / Port  External Addr / Port -- External Access Mask A / 2001  Z / 3001 -- B / 90 Host C

  5. Host B Source: Z / 3001 Dest: B / 90  Source: A / 2001 Dest: B / 90 Port 90 Initial Packet  Port 91  Port 2001 Site NAT  Host A Port 90 Port 91 NAT Binding NAT Filter Local Addr / Port  External Addr / Port -- External Access Mask A / 2001  Z / 3001 -- * / * Host C

  6. Source: Z / 3001 Dest: B / 90  Source: A / 2001 Dest: B / 90 Port 90 Initial Packet  Port 91  Host B Port 2001  Site NAT Host A Port 90 Port 91 NAT Binding NAT Filter Local Addr / Port  External Addr / Port -- External Access Mask A / 2001  Z / 3001 -- B / * Host C

  7. Host B Source: Z / 3001 Dest: B / 90  Source: A / 2001 Dest: B / 90 Port 90 Initial Packet  Port 91 Port 2001   Site NAT Host A Port 90 Port 91 NAT Binding NAT Filter Local Addr / Port  External Addr / Port -- External Access Mask A / 2001  Z / 3001 -- * / 90 Host C

  8. STUN Request Same IP Addr and Port? STUN Request Change Response: Addr and Port N Y Y Response? N UDP Blocked STUN Request Change Response: Addr and Port N Response? Y Open Internet UDP Firewall Y Response? N Full Cone NAT Same IP Addr and Port? STUN Request To alternate Addr and Port N Symmetric NAT Y STUN Request Change Response:Port N Response? Y Port Restricted NAT Restricted NAT

  9. Source: Y / 3002 Dest: A / 2001 Port 2001 Host A Source: Y / 3002 Dest: Z / 3001 Site NAT NAT Binding NAT Filter Local Addr / Port  External Addr / Port -- External Access Mask A / 2001  Z / 3001 -- * / 2001 D / 2002  Y / 3002 -- * / 2002 Port 2002 Host D Source: D / 2002 Dest: Z / 3001

  10. Source: X1 / x1 Dest: Y1 / y1 Source: X / x Dest: Y1 / y1 Port y1 Host Y1 Use Address and Port X1 / x1 Port x Site NAT Host X Port y2 Source: Y2 / y2 Dest: X / x Source: Y2/ y2 Dest: X1 / x1 Host Y2 NAT Binding NAT Filter Local Addr / Port  External Addr / Port -- External Access Mask X / x  X1 / x1 -- ? / ?

More Related