Networking Basics

NAT Explained: Port Forwarding, CGNAT and More

What Is NAT

Network Address Translation (NAT) lets many devices on a private LAN share one public IP. A home router translates private IPs (e.g. 192.168.1.x) to its public IP for outbound traffic, then routes replies back to the right device.

Port Forwarding

By default outsiders cannot reach your LAN devices. Port forwarding explicitly maps an inbound public port to a port on a specific LAN device - useful for self-hosted web services, NAS, remote desktop, or cameras.

CGNAT: The Carrier's "Big NAT"

IPv4 addresses are scarce, so many ISPs share egress IPs among users - carrier-grade NAT (CGNAT), typically using 100.64.0.0/10 (RFC 6598). Browsing still works, but inbound connections and port forwarding do not.

How to Tell If You Are Behind CGNAT

Enter an IP to check whether it is private or a CGNAT reserved address. →