Chapter 7 Network Address Translation (NAT) Screens
P-791R v2 User’s Guide
94
7.1.2 What NAT Does
In the simplest form, NAT changes the source IP address in a packet received from a
subscriber (the inside local address) to another (the inside global address) before forwarding
the packet to the WAN side. When the response comes back, NAT translates the destination
address (the inside global address) back to the inside local address before forwarding it to the
original inside host. Note that the IP address (either local or global) of an outside host is never
changed.
The global IP addresses for the inside hosts can be either static or dynamically assigned by the
ISP. In addition, you can designate servers, for example, a web server and a telnet server, on
your local network and make them accessible to the outside world. If you do not define any
servers (for Many-to-One and Many-to-Many Overload mapping – see
NAT offers the additional benefit of firewall protection. With no servers defined, your ZyXEL
Device filters out all incoming inquiries, thus preventing intruders from probing your network.
For more information on IP address translation, refer to
RFC 1631
,
The IP Network Address
Translator (NAT)
.
7.1.3 How NAT Works
Each packet has two addresses – a source address and a destination address. For outgoing
packets, the ILA (Inside Local Address) is the source address on the LAN, and the IGA (Inside
Global Address) is the source address on the WAN. For incoming packets, the ILA is the
destination address on the LAN, and the IGA is the destination address on the WAN. NAT
maps private (local) IP addresses to globally unique ones required for communication with
hosts on other networks. It replaces the original IP source address (and TCP or UDP source
port numbers for Many-to-One and Many-to-Many Overload NAT mapping) in each packet
and then forwards it to the Internet. The ZyXEL Device keeps track of the original addresses
and port numbers so incoming reply packets can have their original values restored. The
following figure illustrates this.
Figure 40
How NAT Works
7.1.4 NAT Application
The following figure illustrates a possible NAT application, where three inside LANs (logical
LANs using IP Alias) behind the ZyXEL Device can communicate with three distinct WAN
networks. More examples follow at the end of this chapter.
Summary of Contents for P-791R
Page 2: ......
Page 7: ...Safety Warnings P 791R v2 User s Guide 7 This product is recyclable Dispose of it properly...
Page 8: ...Safety Warnings P 791R v2 User s Guide 8...
Page 20: ...Table of Contents P 791R v2 User s Guide 20...
Page 32: ...32...
Page 46: ...Chapter 2 Introducing the Web Configurator P 791R v2 User s Guide 46...
Page 53: ...Chapter 3 Wizard Setup for Internet Access P 791R v2 User s Guide 53...
Page 54: ...Chapter 3 Wizard Setup for Internet Access P 791R v2 User s Guide 54...
Page 58: ...Chapter 4 Point to point Configuration P 791R v2 User s Guide 58...
Page 59: ...59 PART II Network Setup WAN Setup 61 LAN Setup 83 Network Address Translation NAT Screens 93...
Page 60: ...60...
Page 82: ...Chapter 5 WAN Setup P 791R v2 User s Guide 82...
Page 104: ...Chapter 7 Network Address Translation NAT Screens P 791R v2 User s Guide 104...
Page 105: ...105 PART III Security Filter 107...
Page 106: ...106...
Page 110: ...110...
Page 114: ...Chapter 9 Static Route P 791R v2 User s Guide 114...
Page 118: ...Chapter 10 Dynamic DNS Setup P 791R v2 User s Guide 118...
Page 128: ...Chapter 11 Remote Management Configuration P 791R v2 User s Guide 128...
Page 140: ...Chapter 12 Universal Plug and Play UPnP P 791R v2 User s Guide 140...
Page 141: ...141 PART V Maintenance System 143 Logs 149 Tools 153 Diagnostic 159...
Page 142: ...142...
Page 148: ...Chapter 13 System P 791R v2 User s Guide 148...
Page 158: ...Chapter 15 Tools P 791R v2 User s Guide 158...
Page 162: ...162...
Page 168: ...Chapter 17 Introducing the SMT P 791R v2 User s Guide 168...
Page 172: ...Chapter 18 General Setup P 791R v2 User s Guide 172...
Page 178: ...Chapter 19 WAN Setup P 791R v2 User s Guide 178...
Page 194: ...Chapter 22 Remote Node Setup P 791R v2 User s Guide 194...
Page 198: ...Chapter 23 Static Route Setup P 791R v2 User s Guide 198...
Page 226: ...Chapter 25 Filter Configuration P 791R v2 User s Guide 226...
Page 228: ...Chapter 26 SNMP Configuration P 791R v2 User s Guide 228...
Page 230: ...Chapter 27 System Password P 791R v2 User s Guide 230...
Page 240: ...Chapter 28 System Information Diagnosis P 791R v2 User s Guide 240...
Page 268: ...Chapter 31 IP Routing Policy Setup P 791R v2 User s Guide 268...
Page 272: ...Chapter 32 Schedule Setup P 791R v2 User s Guide 272...
Page 278: ...Chapter 33 Troubleshooting P 791R v2 User s Guide 278...
Page 280: ...280...
Page 286: ...Appendix A Product Specifications P 791R v2 User s Guide 286...
Page 320: ...Appendix E IP Address Assignment Conflicts P 791R v2 User s Guide 320...
Page 324: ...Appendix F Common Services P 791R v2 User s Guide 324...
Page 330: ...Appendix G Command Interpreter P 791R v2 User s Guide 330...
Page 342: ...Appendix H Log Descriptions P 791R v2 User s Guide 342...
Page 348: ...Appendix J Legal Information P 791R v2 User s Guide 348...
Page 354: ...Appendix S Customer Support P 791R v2 User s Guide 38...