Network address translation
From DD-WRT Wiki
(Difference between revisions)
Revision as of 17:52, 19 November 2017 (edit) Ian5142 (Talk | contribs) ← Previous diff |
Revision as of 16:23, 16 September 2019 (edit) (undo) Jeremywh7 (Talk | contribs) m Next diff → |
||
Line 1: | Line 1: | ||
- | '''NAPT''' ('''network address and port translation''') is | + | '''NAPT''' ('''network address and port translation''') is necessary due to limited public internet addresses (IPv4), to apply firewall (iptables) rules, and for other reasons. |
NAPT is commonly referred to as '''NAT''' ('''[[wikipedia:Network_address_translation|Network address translation]]'''). | NAPT is commonly referred to as '''NAT''' ('''[[wikipedia:Network_address_translation|Network address translation]]'''). | ||
Line 5: | Line 5: | ||
The NAPT is normally done by a router or firewall with NAPT functionalty - e.g. DD-WRT software! | The NAPT is normally done by a router or firewall with NAPT functionalty - e.g. DD-WRT software! | ||
- | Note: [[Private | + | Note: [[Private_ip_address|Private IP addresses]] must be (source) translated ([[wikipedia:Network_address_translation|NAT]]ed, tcp, udp: [[wikipedia:Port_address_translation|PAT]]) to a public (non-private) IP address (tcp: [[wikipedia:Internet_socket|socket]]) before its payload can be sent into the (public) internet. |
[[Category:NAT]] | [[Category:NAT]] | ||
[[Category:Documentation]] | [[Category:Documentation]] |
Revision as of 16:23, 16 September 2019
NAPT (network address and port translation) is necessary due to limited public internet addresses (IPv4), to apply firewall (iptables) rules, and for other reasons.
NAPT is commonly referred to as NAT (Network address translation).
The NAPT is normally done by a router or firewall with NAPT functionalty - e.g. DD-WRT software!
Note: Private IP addresses must be (source) translated (NATed, tcp, udp: PAT) to a public (non-private) IP address (tcp: socket) before its payload can be sent into the (public) internet.