NAT Mapping
描述NAT在映射网络内主机地址的行为
1 | computer(192.168.100.2:30086) -> NAT -> 1.1.1.1:2345 |
Endpoint-Independent Mapping
网络内主机在通过同一监听udp地址向不同地址和不同端口发包时, NAT使用同一映射地址向外发包
1 | 如 网络内一主机监听了一udp地址 192.168.100.2:30086 |
Address-Dependent Mapping
网络内主机在通过同一监听udp地址向同一地址和不同端口发包时, NAT使用同一映射地址向外发包
1 | 如 网络内一主机监听了一udp地址 192.168.100.2:30086 |
Address and Port-Dependent Mapping
网络内主机在通过同一监听udp地址向同一地址和同一端口发包时, NAT使用同一映射地址向外发包
1 | 如 网络内一主机监听了一udp地址 192.168.100.2:30086 |
NAT Filtering
描述当NAT为网络内主机映射一地址后,互联网内主机向映射地址发送数据时,将允许哪些地址通过的行为
Endpoint-Independent Filtering
A NAT device employing the combination of “Endpoint-Independent
Mapping” and “Endpoint-Independent Filtering” will accept incoming
traffic to a mapped public port from ANY external endpoint on the
public network.
1 | 如 网络内一主机监听了一udp地址 192.168.100.2:30086, NAT将其映射到 1.1.1.1:2345 |
Address-Dependent Filtering
for receiving packets from a specific external endpoint, it is necessary for the internal endpoint to
send packets first to that specific external endpoint’s IP address.
1 | 如 网络内一主机监听了一udp地址 192.168.100.2:30086, NAT将其映射到 1.1.1.1:2345 |
Address and Port-Dependent Filtering
for receiving packets from a specific external endpoint, it is necessary for
the internal endpoint to send packets first to that external endpoint’s IP address and port.
1 | 如 网络内一主机监听了一udp地址 192.168.100.2:30086, NAT将其映射到 1.1.1.1:2345 |
NAT穿透
是否可以进行NAT穿透, 同时依赖NAT Mapping和NAT Filtering
1 | Mapping和Filtering都为Endpoint-Independent Mapping, |