The terms, inside and outside, are combined with the terms local and global to refer to specific addresses. In the figure, router R2 has been configured to provide NAT. It has a pool of public addresses to assign to inside hosts.
- Inside local address - The address of the source as seen from inside the network. In the figure, the IPv4 address 192.168.10.10 is assigned to PC1. This is the inside local address of PC1.
- Inside global address - The address of source as seen from the outside network. In the figure, when traffic from PC1 is sent to the web server at 184.108.40.206, R2 translates the inside local address to an inside global address. In this case, R2 changes the IPv4 source address from 192.168.10.10 to 220.127.116.11. In NAT terminology, the inside local address of 192.168.10.10 is translated to the inside global address of 18.104.22.168.
- Outside global address - The address of the destination as seen from the outside network. It is a globally routable IPv4 address assigned to a host on the Internet. For example, the web server is reachable at IPv4 address 22.214.171.124. Most often the outside local and outside global addresses are the same.
- Outside local address - The address of the destination as seen from the inside network. In this example, PC1 sends traffic to the web server at the IPv4 address 126.96.36.199. While uncommon, this address could be different than the globally routable address of the destination.
The figure shows how traffic is addressed that is sent from an internal PC to an external web server, across the NAT-enabled router. It also shows how return traffic is initially addressed and translated.
Note: The use of the outside local address is outside the scope of this course.