Docs  /  Shared IPv4 NAT

Shared IPv4 NAT

Why an IPv4 address can answer a ping and still not reach your site — the eight-port model, explained plainly.

Updated 28 November 2026 · 4,339 characters of guidance
All documentation guides

The one idea that explains most tickets

On shared IPv4 NAT, the public address is shared by several customers. Outbound traffic works normally, so apt, curl and most APIs just work. Inbound traffic is different: only eight forwarded TCP/UDP ports are mapped to your container. Everything else lands on someone else's service or nowhere.

Internet → shared IPv4→Gateway port map→Your container
Port 22, 80, 443, 25565…→8 forwarded ports→Your service
Any other port→No rule→Not you
Consequence: pinging the shared address only proves the gateway is alive. It says nothing about your service. Test the forwarded port itself with nc -vz <shared-ip> <port>.

Plan your eight ports

Choose the ports you will actually need before the add-on is enabled. A typical web plus SSH layout:

PortProtocolServiceNote
22TCPSSHReserve this or you lose shell access over IPv4
80TCPHTTPUsually redirects to HTTPS
443TCPHTTPSTerminate TLS in your app
25565TCP/UDPMinecraftOnly if you run a game on this container
Port 22 consumes one of your eight slots. If you do not need IPv4 SSH — you have IPv6 and the browser console — spend that slot on your service.

Common symptoms, decoded

SymptomCauseFix
Outbound IPv4 works, inbound does notExpected: only eight ports are mappedCheck the forwarded-port list in My Servers
Site works over IPv6, not IPv4No A record, or port 80/443 not forwardedPublish A + AAAA, forward both ports
Tailscale cannot use the VPS as an IPv4 exit nodeShared NAT is not a public 1:1 IPv4 endpointUse dedicated IPv4, or route the overlay over IPv6
Mail is rejected or flagged as spamShared address reputation is not yoursUse dedicated IPv4 on a VPS
Game needs a port outside the eightShared NAT capUse dedicated IPv4 or a game-server plan
Do not use a shared NAT address for sending mail. The reputation belongs to the address, and other customers share it.

Shared vs dedicated

Shared IPv4 NATDedicated IPv4
Inbound ports8 forwardedAll
Outbound IPv4YesYes
Send reputationSharedYours
IP changes on reprovisionGateway-ownedAddress stays with the order
CostLowHigher

Checking what you actually have

# from your own machine — test the forwarded service, not the address
nc -vz <shared-ipv4> 443

# inside the container — confirm the service is listening
ss -tlnp

# confirm IPv6 path independently
ip -6 route get 2606:4700:4700::1111

If the console shows the service listening and an outside nc to the mapped port fails, open a ticket with the order ID and the exact port number. See Troubleshooting.

Related guides
Something missing or wrong? Tell us — docs improve faster when customers point at the confusing part.
A note from us: we are a small, fairly new team and we do get things wrong. If this guide does not match what you are seeing, trust what you see and tell us — we would rather fix the docs than defend them. How we work with support →