What is an APN?

An APN (access point name) is the name of a link or entry point from a mobile network (2G, 3G, 4G or 5G) for the public Internet infrastructure or private network. When a mobile device or IoT tries to connect to the Internet, private corporate networks, or the cloud infrastructure, APN provides the context and information needed to create this connection.

Here is an overview of the types of APN, the differences between APNs and VPNs, and how choosing the right deployment model can ensure stable and secure connectivity for your IoT projects.

The structure of an APN

Here is an example of an APN:

"internet.mnc012.mcc345.gprs"

For the untrained eye, this may look like a random string of characters. However, an APN is structured to provide an MNO with all the information needed to determine:

  • Which IP address should be assigned to the device
  • to which network the device should be connected
  • What security methods should be used


An APN consists of two parts:

  • network identifier

Specifies which external network you are looking for to create a gateway (for example, the public Internet or a specific commercial/IoT network).

  • operator identifier

Identifies the MNO with which the gateway is identified. It consists of a mobile network code (MNC) and a mobile country code (MCC).

Types of APN

  • Public APN:

A public APN connects a mobile device or IoT to the public Internet. Each time a device attempts to make a connection, the MNO/MVNO assigns it the next available IP address from a pool of addresses.

  • Public APN with a public static IP:

As with a standard APN, this model connects devices to the public Internet. However, after an IP address is assigned to a device, that device uses the same address whenever it makes a connection.

  • Private APN:

With a private APN (sometimes called the corporate APN), the gateway is configured so that the data can flow directly from and to a device to a company's own network, through the MNO/MVNO network. There is no need for data traffic to travel over the public Internet.

  • Private APN with a private static IP:

In a standard private APN configuration, devices receive a static IP address for connecting to private networks. It is also possible for devices to receive a public static IP address.

The difference between APNs and VPNs

An APN is a gateway. It sets the rules that your MNO needs to know to establish a wireless connection. An APN also allows you to configure the type of connectivity path that best suits your business requirements. With a private APN, for example, it allows IoT devices to use the mobile network infrastructure to connect to a corporate network without having to access the public Internet.

On the other hand, a VPN (Virtual Private Network) acts more like a tunnel than a gateway. Your job is not to provide an internet connection; Instead, it provides a security layer to create a secure data transfer channel on a public or private network.

A VPN links two or more devices, allowing them to access a shared system. The data packets transmitted by a device are encrypted before they reach the network of your MNO, which means that even if someone intercepts the data in the transmission, this information is indecipherable.

Therefore, an APN sets the rules to allow your IoT devices to connect to the network of your choice. A VPN offers an additional option to strengthen end-to-end security of data transfers. Most IoT systems use a combination of private APNs and IPsec VPNs to secure data connections between corporate networks and cloud infrastructure.

The benefits of APNs

With several APN options available, companies have a greater scope to configure their connectivity methods, taking into account factors such as budgeting, coverage requirements and data sensitivity.

A priority for many companies is to ensure reliable connectivity, but without exposing the company's data infrastructure to the entire public Internet. In such cases, a private APN solution usually makes sense. This means that the data can remain confined to MNO/MVNO and Enterprise private networks, as well as providing scope for applying your preferred security and usage policies.

A private APN can also be a good option if your IoT devices and users are deployed internationally around the world. Using a mobile SIM with the same private APN means that devices can access corporate networks or cloud infrastructure reliably and securely, regardless of the country or the MNO network devices to which they are connected.

For more explanations about IoT, visit our glossary.