IP addresses and NAT

This page covers the IP address a Simbase SIM gets, what NAT means for your device, and the two ways to make a device reachable from outside.

The IP address a SIM gets

  • A private IPv4 address, in the 10.x.x.x range, assigned when the SIM attaches. It can change between sessions.

  • IPv4 only. Simbase doesn't support IPv6, so set the device's IP type to IPv4.

  • No extra charge for the default private address.

What NAT means for your device

The carriers' NAT gateways translate the SIM's private address to a shared public address (CGNAT). For your device that means:

  • Outbound works. The device can reach your servers, APIs and MQTT brokers.

  • Inbound doesn't. Nothing on the internet can open a connection to the device, and port forwarding isn't available.

  • SIMs can't reach each other directly through NAT.

NAT keeps devices out of reach from the internet, but it is not a firewall. A device can still start a VPN to your network itself, for example WireGuard, because that connection is opened from the device.

Don't allowlist Simbase's NAT addressesThe public addresses of the NAT gateways are added, removed and replaced all the time, so an allowlist on your server will break without warning. If your server needs to recognise devices by IP, use a public IP or a private network.

Two ways to make a device reachable

  • What you get

  • Reached from

  • Firewall

  • Billing

  • APN

See Public IPs and Private networks.

Which one do you need?

  • Nothing extra, if the device only sends data to your servers. That covers most deployments.

  • A public IP, if something on the internet has to open a connection to one device, such as SSH or a web interface.

  • A private network, if your systems need to reach many devices, or traffic shouldn't cross the public internet.

Terms

  • Dynamic IP: an address that can change between sessions. The default.

  • Static IP: an address that stays the same, with a public IP or in a private network.

  • CGNAT: carrier-grade NAT, on the carriers' gateways, shared by many SIMs.

  • IPv4: the address format Simbase uses, four numbers such as 10.20.30.40.

Common questions

Yes, with a public IP or a private network. The default private address can change between sessions.

No. Set the device's IP type to IPv4.

Anything on the internet can reach it, including scans, and that inbound traffic is billable. Allow only the ports you need: in the dashboard on Black and Green SIMs, on the device for Blue and Yellow.