Free tech learning for everyone, from basics to pro

IoT NetworkingIoT SecurityIntermediate

What is an APN? Private APNs for secure cellular IoT

In short: An APN (access point name) tells the mobile network which data network a device should join. With a public APN, IoT devices get internet access and are exposed to it. With a private APN, devices get private addresses and reach only your systems through a secure link, which hides them from the internet and gives you central control over their traffic.

Quick answer

In short: an APN (access point name) is a setting on a cellular device or SIM that tells the mobile operator which gateway, and therefore which data network, to connect it to. A public APN leads to the internet. A private APN leads only to your own network, so IoT devices stay off the public internet.

How a cellular IoT device reaches your systemsIoT deviceSIM cardMobilenetwork4G, 5G, LTE-MAPNchooses thegatewayPrivate APNprivate IPsYour networkVPN or cloudlink
Figure 1. The APN decides which data network the device joins after it connects to the mobile network.

How an APN works

When a device with a SIM card connects to a 4G or 5G network, it asks for a data session and names an APN, for example internet or company.iot. The operator uses the APN to choose a gateway (in 4G, the PDN gateway; in 5G, the user plane function for that data network). The gateway gives the device an IP address and forwards its traffic to the matching network. In 5G the same idea is called a DNN (data network name), but most people still say APN.

Public versus private APN

Public APNPrivate APN
Where traffic goesThe internetOnly your network
IP addressesUsually shared, behind carrier NATPrivate addresses from your plan, often fixed
ExposureDevices can be reached or attacked from the internet if misconfiguredNot reachable from the internet
ControlLittleCentral firewalling, logging and policies
Cost and setupSimple, included with most plansExtra setup with the operator or IoT connectivity provider

How a private APN reaches your systems

  • IPsec VPN from the operator's gateway to your firewall, the most common option.
  • Private circuit from the operator to your data centre, for larger deployments.
  • Cloud integration: many IoT connectivity providers can connect a private APN directly into a cloud network.

Devices can then reach only your servers, and any internet access they need goes through your own firewall.

Why private APNs help security

  • Devices are invisible from the internet, which removes a huge amount of scanning and attack traffic.
  • You can apply firewall rules so each device type talks only to the servers it needs.
  • Fixed private IPs make it easier to identify and manage devices.
  • A stolen SIM used in another device only reaches your private network, where you can detect and block it; many providers also offer SIM locking to a device's IMEI.

A private APN is not a complete solution. Devices still need secure firmware, strong credentials and encrypted application traffic. See cellular IoT and 5G and segmenting IoT networks.

Design tips

  • Plan the IP range so it does not overlap your existing networks.
  • Use two VPN tunnels or circuits to different data centres for resilience.
  • Use the operator's or provider's portal to monitor data use and suspend lost SIMs quickly.
  • Set the APN on the device or SIM profile consistently, and document it.
  • Choose low-power technologies such as LTE-M or NB-IoT where devices send small amounts of data (see LPWAN).

Real-world example: meters off the internet

A water company had 3,000 smart meters on a public APN. A routine internet scan by a researcher found some meters' web interfaces reachable from anywhere. Moving them to a private APN, with an IPsec VPN from the provider to the company's data centre and firewall rules allowing only the metering server, removed the exposure without changing the meters themselves.

Practice

What does an APN tell the mobile network?
Which gateway and data network the device should connect to, for example the internet or a private company network.
Name two security benefits of a private APN.
Any two of: devices are not reachable from the internet, central firewalling and logging, fixed private IPs, stolen SIMs only reach the private network.
What is the 5G equivalent of an APN?
The DNN (data network name).

Key takeaways

  • An APN selects the data network a cellular device joins.
  • Public APNs lead to the internet; private APNs lead only to your network.
  • Private APNs connect to you by VPN, private circuit or cloud link.
  • They hide devices from the internet, but devices still need their own security.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: