Public and private IP address
A public IP address is unique and visible on the internet, while a private one works only inside a local network and goes online through NAT.
Updated · Prokso editorial team
Every device on a network has an IP address, but not every address is visible on the internet. A public address is unique across the whole internet: it can be reached from outside, and it is the address websites see. A private address works only inside a local network, at home, in an office or inside a mobile carrier's network.
For a device with a private address to get online, the router or the ISP's equipment swaps it for a public one. This mechanism is called NAT. That is why your laptop can have the address 192.168.1.15 while a website sees something completely different: the address of your router or your ISP.
Which addresses are private
IPv4 has separate ranges reserved for private networks. They are reused in millions of networks and are never routed directly on the internet.
| Range | Used for |
|---|---|
| 10.0.0.0/8 | Private networks (RFC 1918): large offices, ISP networks |
| 172.16.0.0/12 | Private networks (RFC 1918) |
| 192.168.0.0/16 | Private networks (RFC 1918): most home routers |
| 100.64.0.0/10 | Shared address space for CGNAT in ISP networks (RFC 6598) |
| 127.0.0.0/8 | The device itself (localhost) |
Notation like /8 or /16 is CIDR, and it shows the size of the range. Everything outside the reserved blocks is a public address.
IPv6 has enough addresses for everyone, so devices usually get global addresses and do without NAT. Private addresses exist there too (the fc00::/7 range), but they are rarely used for going online.
How to tell which address you have
Open your router settings and look at the address on the WAN (internet) port. Then compare it with the one shown on the My IP page. If they match, you have a public address. If they differ, or the WAN address starts with 10. or falls in 100.64-100.127, you are behind your ISP's NAT and have a private address.
Mobile internet almost always runs through CGNAT: thousands of a carrier's subscribers go online through shared public addresses. Home ISPs do the same more and more often, because free IPv4 addresses are scarce.
What it means for proxies
A website sees only the public address, the one the request arrived from on the internet. When you work through a proxy, that is the address of the exit node, not yours. So you do not need a public address to use proxies: the connections are outgoing, and a private address handles them just fine.
The difference shows up when you set up IP-based access. The whitelist of a Prokso plan needs exactly the public address the gateway sees, up to 5 addresses per plan. If you are behind CGNAT, other subscribers may share that same address, and it may also change. In that case it is more reliable to connect with a login and password; the connection guide shows how.
A public address matters when someone needs to connect to you from outside: your own server, remote access to a computer or cameras. For ordinary browsing, scraping or working in an antidetect browser through a proxy, the type of your own address makes no difference.
Further reading
FAQ
Do I need a public IP address to use a proxy?
No. Connections to a proxy are outgoing, so they work with a private address behind NAT or CGNAT too. A public address is only needed when someone has to connect to your device from outside.
How can I tell that my ISP gave me a private address?
Compare the WAN address in your router settings with the one shown on the My IP page. If they differ, or the WAN address starts with 10. or falls in 100.64-100.127, you are behind your ISP's NAT.
Can I add a private address to my plan's whitelist?
No, the gateway sees only your public address, so that is the one you add. If you are behind CGNAT and your address changes, it is easier to connect with a login and password.
Related terms
Residential $1.59, mobile $2.50, datacenter $0.65 per GB
Sign up in a minute, get access right after payment.