When a computer on the stub domain that has an inside local address wants to communicate outside the network, the packet goes to one of the NAT routers by way of normal routing to the default-gateway.
当一台在存根域 (网络) 中被分配了内部本地地址的计算机想要和外部网络通信时,数据包就会像通常一样被路由到其默认网关,此时网管充当 NAT 路由器功能。
If an entry is available, it verifies whether the packet is traveling from the inside to the outside network and checks if the packet matches the criteria specified for translation.
如果这条目存在,路由器就验证这个数据包是否是从内部网络到外部网络,并检查其是否满足转换规则。
NAT would do network address translation for outbound packet so that inside hosts can use reserved IP addresses and outside hosts can not visit inside ones directly to realize one-way communication.
NAT对内网主机的出网数据包进行网络地址变换,内网主机可以使用保留地址上网,外网主机无法直接访问内网主机,从而实现单向通信。
应用推荐