NAT
Network Address Translation (NAT), as the name implies, is a means of mapping one address space into another address space. It is often equated with port forwarding, a subcategory ofNAT that allows a computer on a public network, such as the internet, to connect to a computer on a private network (for example, our LAN) by remapping the IP address and port.This is the form of NAT that you are most likely to use. But theretwoare other forms of NAT,which we will cover in this section.Outbound NAT allows traffic from internal networks whose destination is an external network to reach their destination. 1:1 NAT is a form of remapping public IP addresses to private IP addresses in such a way that each public IP address corresponds to one private IP address.
Port-forwarding
Port-forwarding is typically used in scenarios where we have a single public IP address and several resources–in many cases on separate nodes–that must be made accessible to the internet. In such cases, it is useful to map...