Partager via


Network Address Translation Traversal

Purpose

Network Address Translation (NAT) is commonly implemented in residential gateways to share an Internet connection across a private home or small office network. The NAT architecture is limited in that network applications behind the NAT cannot listen for incoming connections from the Internet unless port mappings are configured on the NAT device. Applications can use the NAT Traversal API to configure these port mappings on UPnP-enabled NAT devices.

Where applicable

NAT Traversal works on networks where a UPnP-enabled NAT is deployed. UPnP NATs are commonly deployed on home and small office networks, but not Internet Service Provider or Enterprise environments.

Developer audience

The NAT API is designed for use by programmers using C/C++, Microsoft Visual Basic development system, Visual Basic Scripting Edition, and JScript development software. Programmers should be familiar with networking concepts such as stateful packet filtering and network address translation (NAT).

Run-time requirements

The NAT API is supported on Windows XP and later.

In this section

Topic Description
Overview
General information about Network Address Translation Traversal.
Reference
Documentation for Network Address Translation Traversal interfaces, structures, and other code elements.