What is a public IP address?
A public IP address is the address your home or office network uses on the internet. Your ISP assigns it to your router’s WAN interface. Websites, game servers, and online services see this address when you browse. It is different from a private IP such as 192.168.1.1 used only inside your LAN for devices and router admin panels. Routerpedia’s tool detects your public IPv4 (and IPv6 when available) so you can copy it for remote access, dynamic DNS, or support tickets.
Most residential connections use a dynamic public IP that can change after a modem reboot or lease renewal. Business static IPs stay fixed for a fee. If you host cameras or a home lab, either update dynamic DNS when the IP changes or ask your ISP about a static assignment. Confirm whether you are behind CGNAT if inbound port forwarding never works — shared public IPv4 is increasingly common.
When you need to know your public IP
Port forwarding guides ask for your WAN IP so you can test from outside the house. VPN and remote-desktop setups whitelist your home address. Some ISP chats ask you to read the WAN IP from the modem status page — this tool is a faster cross-check. Gamers use it when opening console ports; small offices use it when configuring site-to-site tunnels.
Pair this page with What is my local IP? when a guide says “device IP” versus “public IP,” and with What is my ISP? when support needs the provider name. If results look like another country, check What is my proxy? for VPN clues.
IPv4, IPv6, and dual-stack homes
IPv4 addresses are still the default on most consumer gear. IPv6 provides a much larger space and is enabled by many fiber and cable ISPs. Dual-stack means both work at once; websites may prefer one path. Seeing only IPv4 here does not mean IPv6 is broken — your browser path to our detection endpoints might simply use IPv4. Router admin pages often show separate WAN IPv4 and IPv6 status fields.
When setting firewall rules, open the correct protocol family. Some dynamic DNS providers update A and AAAA records separately. After changing router WAN modes (DHCP, PPPoE, static), reload this page to confirm the new public address before you update DNS.
How NAT works at your home router
Network Address Translation lets dozens of devices share one public IPv4 address. Your phone might use 192.168.1.40 locally while websites see the WAN IP shown above. The router maintains a translation table mapping outbound connections to internal hosts. Inbound connections from the internet are blocked by default unless you configure port forwarding, UPnP, or DMZ — which is why knowing both public and local IP addresses matters for self-hosting.
Double NAT happens when an ISP gateway and your own router both perform translation — common if you forgot to enable bridge mode. Symptoms include strict NAT in games, broken port forwards, and confusing traceroutes. Fix by bridging the modem or placing your mesh system in access-point mode. Use our Subnet Calculator to ensure LAN ranges do not collide with upstream 192.168.x.x defaults.
Dynamic DNS and keeping services reachable
When your ISP assigns a dynamic public IP, hostnames for home cameras, VPN servers, or game servers need updating whenever the address changes. Dynamic DNS (DDNS) clients run on the router or a NAS, detect WAN IP changes, and publish new A records. After modem reboots, reload this page and compare with your DDNS dashboard — stale records are the top reason “it worked yesterday” remote access fails.
Pair DDNS with sensible firewall rules: expose only required ports, prefer HTTPS, and use strong admin passwords unrelated to Wi‑Fi keys from our WiFi Password Generator. Validate that public DNS matches your current WAN IP using DNS Lookup on your hostname. If lookups show a different address than this tool, propagation or a misconfigured updater is likely.
Port forwarding and testing from outside
Port-forward rules tie external TCP/UDP ports on your public IP to a LAN host. Always forward to a reserved local address, not a DHCP slot that may move. Test by disabling Wi‑Fi on your phone and using cellular data to hit your WAN IP or DDNS name — testing from inside the LAN often hairpins incorrectly on some routers. If tests fail everywhere, confirm your ISP is not using CGNAT, which blocks inbound IPv4 without business-grade service.
IPv6 may offer globally routable addresses without NAT on supported ISPs; check separate firewall pages for IPv6 filters. When geolocation looks wrong during tests, run What is my proxy? to ensure a VPN is not masking the residential exit you think you configured. Document open ports privately — posting your public IP alongside a port list invites scanners.
Router WAN page vs this detection tool
Most firmware status screens list WAN IPv4/IPv6 addresses assigned by DHCP, PPPoE, or static configuration. They should match this page when you are not on a VPN. Minor differences can appear during lease renewal or when the router shows only one of several IPv6 prefixes. If the router reports a private WAN address such as 100.64.x.x, you are likely behind carrier-grade NAT — inbound hosting will not work without IPv6 or an ISP upgrade.
Access the status page through the gateway IP documented in our IP addresses collection if labels wear off. After ISP truck rolls or modem swaps, compare both sources before updating firewall allowlists at work. Share guest Wi‑Fi easily with the Wi‑Fi QR Code Generator, and browse the full network tools hub for subnet and DNS utilities that complement public IP checks. Screenshot or copy your WAN address into secure notes when configuring cloud cameras or VPN allowlists.
Privacy and safety tips
Every site you visit can already see your public IP. Sharing it in a forum is usually fine, but avoid posting it next to your full name, home address, and open port list. Prefer strong router admin passwords and up-to-date firmware over relying on IP obscurity. Guest Wi‑Fi with isolation reduces risk if visitors abuse your connection.
For subnet planning after you know your WAN details, open the Subnet Calculator. Browse all free utilities on the network tools hub, including Wi‑Fi password and QR generators for safer sharing. Keep a private note of the last stable public IP your router reported so you spot unexpected changes after power events or ISP maintenance windows.