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 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 APN | Private APN | |
|---|---|---|
| Where traffic goes | The internet | Only your network |
| IP addresses | Usually shared, behind carrier NAT | Private addresses from your plan, often fixed |
| Exposure | Devices can be reached or attacked from the internet if misconfigured | Not reachable from the internet |
| Control | Little | Central firewalling, logging and policies |
| Cost and setup | Simple, included with most plans | Extra 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?
Name two security benefits of a private APN.
What is the 5G equivalent of an APN?
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.
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.