Reference Centre
Return to the Industrial Modem Application Notes
Overview
This application note explains how to securely access a remote cellular modem using a private fixed IP SIM, a private APN and a VPN connection. It describes both inbound and outbound socket architectures, allowing devices to be accessed securely across private mobile networks without exposing equipment directly to the public internet.
| Product | Description |
|---|---|
| ZETA-GEP-LTE4 (EU) | Industrial LTE Cat 4 Modem with GNSS |
| ZETA-NEP-LTE4 (EU) | Industrial LTE Cat 4 Modem |
| ZETA-NSP-LTE1 (EU) | Industrial LTE Cat 1 Modem |
| ZETA-NLP-LTE1 (EU) | Industrial Ultra Low Power LTE Cat 1 Modem |
| ZETA-NLP-LTEM (EU) | Industrial Ultra Low Power LTE-M / NB-IoT Modem |
This guide explains how to:
Expected Result
At the end of this guide a remote modem should be securely reachable using either inbound socket access or an outbound socket connection routed through a VPN connected private APN.
Traditional cellular devices typically operate using public internet connectivity.
In this configuration:
Device
│
Mobile Network
│
Public Internet
│
Application
While simple to deploy, this approach introduces several challenges:
Many industrial applications require a more secure architecture.
Examples include:
For these applications a private APN and VPN architecture is often preferred.
APN stands for:
Access Point Name
The APN defines how the SIM card connects into the mobile operator network.
Most consumer SIM cards connect to a public APN.
Examples include:
internet
everywhere
mobile.o2.co.uk
three.co.uk
A private APN behaves differently.
Instead of connecting devices directly to the public internet, the traffic is routed into a dedicated private network.
Remote Device
│
Private APN
│
Provider Core Network
│
VPN Tunnel
│
Customer Network

In this arrangement:
Important Note
A private APN does not automatically provide encryption. Traffic isolation and traffic encryption are separate concepts.
Many private APN services provide fixed IP addressing.
Unlike a standard SIM, which may receive a different address each time it connects, a fixed IP SIM is allocated the same IP address every time a PDP context is established.
For example:
10.10.10.50
may always be assigned to a particular SIM card.
This provides several advantages:
| Device | Private IP Address |
|---|---|
| Pump Station 1 | 10.10.10.50 |
| Pump Station 2 | 10.10.10.51 |
| Pump Station 3 | 10.10.10.52 |
Because the addresses never change, remote systems can always connect to the same endpoint.
A VPN provides secure connectivity between the customer network and the APN provider network.
Typical VPN technologies include:
The VPN creates an encrypted tunnel between:
Customer Network
│
Encrypted VPN Tunnel
│
Private APN Network

The VPN provides:
This means that device traffic remains protected while traversing intermediate networks.
There are two common methods used to exchange data with remote cellular devices.
The modem listens for incoming socket connections.
The client connects to the VPN and then directly accesses the modem using its fixed IP address.
Client
│
VPN
│
Private APN
│
Fixed IP Device
Advantages:
The modem initiates the socket connection.
Device
│
Private APN
│
VPN
│
Server
│
Client Application
Advantages:
| Requirement | Recommended Method |
|---|---|
| Direct device access | Inbound Socket Access |
| Centralised data collection | Outbound Socket Connection |
| SCADA systems | Inbound Socket Access |
| Cloud data aggregation | Outbound Socket Connection |
| Many remote devices | Outbound Socket Connection |
Before configuring secure remote access, ensure the following resources are available.
| Item | Description |
|---|---|
| Cellular Modem | Industrial Siretta ZETA modem |
| Private Fixed IP SIM | SIM provisioned with a fixed private IP address |
| Private APN Service | Dedicated APN configured by the SIM provider |
| VPN Service | VPN connection into the APN provider network |
| Client Device | PC, PLC, SCADA system or application server |
| SIM Provider Details | APN name, username and password |
Before configuration begins, the SIM provider should supply the following information.
| Parameter | Example |
|---|---|
| APN Name | private.apn.company |
| Username | customer001 |
| Password | ******** |
| Fixed IP Address | 10.10.10.50 |
| VPN Address Range | 10.10.0.0/16 |
| VPN Endpoint | Provider supplied |
Important Note
Not all fixed IP SIM services support inbound connectivity. Confirm with the SIM provider that inbound routing is enabled if direct socket access to the modem is required.
The following examples use standard Siretta ZETA socket commands.
Command support may vary between modem familiesand supported technologies.
Refer to the modem AT command reference guide for device-specific syntax.
Before establishing a packet data session, confirm that the modem has successfully registered with the mobile network.
AT+CREG?
Example response:
+CREG: 0,1
or
+CREG: 0,5
Where:
| Value | Meaning |
|---|---|
| 1 | Registered on home network |
| 5 | Registered while roaming |
AT+CGREG?
Example response:
+CGREG: 0,1
This confirms packet data services are available.
Expected Result
The modem should report successful registration before packet data activation is attempted.
The PDP context defines how the modem connects to the private APN.
Example:
AT+CGDCONT=1,"IP","private.apn.company"
Where:
| Parameter | Description |
|---|---|
| 1 | PDP Context Identifier |
| IP | IPv4 PDP Type |
| private.apn.company | Private APN Name |
Example response:
OK
AT+CGDCONT?
Example response:
+CGDCONT: 1,"IP","private.apn.company"
This confirms the APN configuration has been stored correctly.
Once the PDP context has been configured, establish the packet data session.
Example:
AT#SGACT=1,1,"customer001","password"
Where:
| Parameter | Description |
|---|---|
| 1 | PDP Context |
| 1 | Activate Context |
| customer001 | Username |
| password | Password |
Example response:
#SGACT: 10.10.10.50
OK
The returned address is the IP address assigned to the modem.
Example:
10.10.10.50
This should match the fixed IP address allocated by the SIM provider.

The active context can be queried at any time.
AT#SGACT?
Example response:
#SGACT: 1,1
The response confirms:
Some providers allow connectivity verification using ICMP ping.
Example:
AT#PING="10.10.0.1"
or
AT#PING="10.10.10.1"
depending on the VPN network design.
Example response:
Reply from 10.10.0.1
Successful responses indicate routing between the modem and provider network is functioning correctly.
Important Note
Some private APN providers block ICMP traffic. Failure to receive a ping response does not necessarily indicate a routing problem.
Many industrial deployments restrict which remote systems can connect to the modem.
Firewall rules can be used to:
AT#FRWL?
Example response:
#FRWL: ...
The exact output depends on modem configuration.
Permit all devices within the VPN subnet:
AT#FRWL=1,"10.10.0.0","255.255.0.0"
Permit only a single VPN client:
AT#FRWL=1,"10.10.1.100","255.255.255.255"
This configuration allows the modem to reject unwanted inbound connection attempts.
Security Recommendation
Restrict firewall rules to known VPN-connected systems wherever possible rather than permitting unrestricted access.
Once:
the modem is ready for socket communications.
Two options are available:
Configure the modem to listen for inbound connections.
Client
│
VPN
│
Private APN
│
Listening Modem
Configure the modem to establish an outbound connection.
Modem
│
Private APN
│
VPN
│
Server
The following sections describe each approach in detail.
The inbound socket architecture allows a remote client to connect directly to the modem using its fixed private IP address.
This architecture is commonly used for:
Because the modem has a fixed private IP address, the client always knows where to connect.

Engineering Workstation
│
VPN Tunnel
│
Private APN Network
│
Fixed IP Modem
│
Connected Equipment
In this example:
Before opening a listening socket, configure the socket behaviour.
Example:
AT#SCFG=1,1,300,90,600,50
Where:
| Parameter | Description |
|---|---|
| 1 | Socket Identifier |
| 1 | Command Mode |
| 300 | Packet Timeout |
| 90 | Connection Timeout |
| 600 | Closure Timeout |
| 50 | Packet Size Threshold |
Example response:
OK
Important Note
Socket timeout values should be adjusted to suit the application requirements.
The modem must now be configured to listen for inbound connections.
Example:
AT#SL=1,1,5000
Where:
| Parameter | Description |
|---|---|
| 1 | Socket Identifier |
| 1 | TCP Socket |
| 5000 | Listening Port |
Example response:
OK
The modem is now listening for TCP connections on:
10.10.10.50:5000
assuming the assigned fixed IP address is:
10.10.10.50
View socket status:
AT#SS
Example response:
#SS: 1,LISTEN
This confirms the modem is waiting for an incoming connection.
The client must first establish its VPN connection.
Once connected to the VPN, the client can open a TCP connection directly to the modem.
Example:
Destination IP:
10.10.10.50
Destination Port:
5000
Client
│
VPN Connect
│
Private APN Routing
│
TCP Connect
│
Modem Listening Socket

When a connection request arrives, the modem reports:
SRING: 1
This indicates:
Socket 1 has a pending connection request
The connection can now be accepted.
AT#SA=1
Example response:
CONNECT
The socket is now active.
Once connected, data can be exchanged between:

To transmit data from the modem:
AT#SSEND=1
Example response:
>
The modem is now waiting for data.
Example:
HELLO
Terminate transmission using:
CTRL+Z
Example response:
OK
Data received from the client can be read using:
AT#SRECV=1,1500
Where:
| Parameter | Description |
|---|---|
| 1 | Socket Identifier |
| 1500 | Maximum Bytes |
Example response:
#SRECV: 5
HELLO
During operation:
AT#SS
may return:
#SS: 1,CONNECTED
This confirms:
When communications are complete:
AT#SH=1
Example response:
OK
The socket is closed and resources are released.
A common industrial deployment may use:
Remote Pump Station
│
Fixed IP SIM
│
Private APN
│
VPN Tunnel
│
SCADA Server
The SCADA server can connect directly to:
10.10.10.50:5000
to:
No public IP addressing is required.
No port forwarding is required.
No public internet exposure exists.
| Benefit | Description |
|---|---|
| Direct Access | Client communicates directly with the modem |
| Low Latency | No intermediary server required |
| Simple Routing | Fixed IP provides predictable addressing |
| Private Network | Traffic remains within the APN infrastructure |
| VPN Protection | VPN restricts access to authorised users |
| Consideration | Description |
|---|---|
| Provider Support | SIM service must allow inbound routing |
| Fixed IP Requirement | Generally requires fixed addressing |
| Firewall Management | Access controls must be maintained |
| Large Deployments | Managing many device endpoints can become complex |
Expected Result
The modem should now be capable of accepting inbound TCP socket connections from VPN-connected users across the private APN network.
While inbound socket access provides direct communication with a remote modem, many deployments instead use an outbound socket architecture.
In this model, the modem initiates the connection to a central server.
The server then communicates with the modem across the established connection.
This architecture is commonly used for:
Many organisations prefer outbound connections because they eliminate the need for direct inbound access to field devices.
Rather than connecting to hundreds or thousands of individual devices, the application communicates with a single central server.

Remote Device
│
Private APN
│
VPN Tunnel
│
Central Server
│
Client Application
In this arrangement:
The communication sequence is typically:
Modem Powers Up
│
Activates PDP Context
│
Obtains Fixed IP Address
│
Connects To Server
│
Maintains TCP Session
│
Exchanges Data

Before configuring the modem, a server must be available.
The server may be:
The server must:
Example:
Server IP:
10.10.1.100
Port:
5000
Configure the socket profile.
Example:
AT#SCFG=1,1,300,90,600,50
Example response:
OK
The modem can now initiate a connection.
Example:
AT#SD=1,0,5000,"10.10.1.100",0,0,1
Where:
| Parameter | Description |
|---|---|
| 1 | Socket Identifier |
| 0 | TCP Mode |
| 5000 | Remote Port |
| 10.10.1.100 | Server IP Address |
| 0 | Connection Options |
| 0 | Reserved |
| 1 | Command Mode |
Example response:
CONNECT
This indicates the TCP connection has been successfully established.
Where DNS services are available, the server may be referenced using a hostname.
Example:
AT#SD=1,0,5000,"server.company.local",0,0,1
This can simplify server management when addresses change.
Check socket state:
AT#SS
Example response:
#SS: 1,CONNECTED
This confirms:
Once connected, data can be exchanged freely between:

Transmit data:
AT#SSEND=1
Example response:
>
Send payload:
DEVICE01,23.5,45.2,OK
Terminate using:
CTRL+Z
Example response:
OK
The server receives:
DEVICE01,23.5,45.2,OK
Read received data:
AT#SRECV=1,1500
Example response:
#SRECV: 12
START_PUMP
The modem can then pass this command to connected equipment.
Many industrial systems maintain a permanent TCP connection.
Advantages include:
Typical workflow:
Power On
│
Connect Server
│
Remain Connected
│
Transmit Events
│
Receive Commands
Mobile networks occasionally experience:
The application should therefore implement automatic reconnection logic.
Typical strategy:
Socket Disconnect
│
Wait 30 Seconds
│
Reopen Socket
│
Verify Connection
│
Resume Operation
Many modern systems use event-driven messaging.
Rather than polling continuously, the modem only sends information when something changes.
Examples:
Temperature Alarm
Door Open
Power Failure
Pump Started
Pump Stopped
Low Battery
Advantages:
Traditional SCADA systems frequently use polling.
Example:
SCADA Server
│
Poll Every 60 Seconds
│
Remote Device
The server periodically requests data.
Example:
GET_STATUS
The modem responds:
LEVEL=73%
PRESSURE=2.5BAR
TEMP=21C
One major advantage of outbound connectivity is scalability.

Device 1
Device 2
Device 3
Device 4
│
Private APN
│
VPN Tunnel
│
Central Server
│
Applications
The application only communicates with the server.
The server manages all connected devices.
| Benefit | Description |
|---|---|
| Scalable | Supports large numbers of devices |
| Centralised Management | Single communication endpoint |
| Simplified Security | No direct access to field devices required |
| Lower Administration | No individual device routing required |
| Cloud Friendly | Integrates well with modern applications |
| Consideration | Description |
|---|---|
| Server Required | Requires a central endpoint |
| Additional Infrastructure | Server must be maintained |
| Connection Management | Application must handle reconnections |
| Single Point of Failure | Server outage impacts communications |
| Feature | Inbound Socket | Outbound Socket |
|---|---|---|
| Direct Device Access | Yes | No |
| Server Required | No | Yes |
| Suitable for SCADA | Excellent | Good |
| Large Deployments | Moderate | Excellent |
| Device Visibility | Direct | Hidden Behind Server |
| Scalability | Moderate | High |
Expected Result
The modem should now be capable of establishing an outbound socket connection to a VPN-connected server and exchanging data securely across the private APN infrastructure.
Private APN connectivity provides significant security advantages compared to traditional public internet deployments.
However, it is important to understand the difference between:
These are often confused but provide different security functions.
A private APN prevents devices from being directly exposed to the public internet.
Instead of routing traffic via the internet, the mobile operator routes traffic into a dedicated private network.
[FIGURE 11 HERE]
Private APN Traffic Isolation
Remote Device
│
Private APN
│
Provider Core Network
│
Customer Network
This provides:
However, it does not automatically provide end-to-end encryption.
A VPN provides an encrypted tunnel between:
Customer Network
│
Encrypted VPN Tunnel
│
Private APN Network

Benefits include:
The VPN ensures that traffic remains encrypted while traversing intermediate networks.
This is not necessarily true.
A private APN provides:
It does not inherently provide:
These functions are normally provided by a VPN or application-layer encryption.
A fixed IP address does not automatically imply public accessibility.
Many fixed IP SIMs are allocated addresses within private network ranges such as:
10.x.x.x
172.16.x.x – 172.31.x.x
192.168.x.x
These addresses are not routable on the public internet.
Access is normally possible only via:
A VPN provides secure transport.
It should not replace:
Best practice is to use both VPN protection and firewall restrictions.
For most industrial deployments Siretta recommends the following approach.

Remote Device
│
Private APN
│
Provider Network
│
VPN Tunnel
│
Firewall
│
Customer Application
This architecture provides:
Permit only known systems to access the modem.
Example:
AT#FRWL=1,"10.10.1.100","255.255.255.255"
rather than:
AT#FRWL=1,"0.0.0.0","0.0.0.0"
VPN endpoints should use:
Monitor:
This allows communication failures to be identified quickly.
Keep modem firmware updated to ensure:
are applied.
Possible causes:
Check:
AT+CREG?
AT+CGREG?
AT+CGDCONT?
Verify the APN details supplied by the SIM provider.
Possible causes:
Check:
AT#SGACT=1,1
Confirm the returned IP address matches the assigned address.
Possible causes:
Check:
AT#SS
AT#FRWL?
AT#SGACT?
Verify:
Possible causes:
Check:
AT#SS
and verify the destination IP address and port.
Possible causes:
Recommended action:
Configure Private APN
│
Activate PDP Context
│
Receive Fixed IP Address
│
Configure Firewall
│
Open Listening Socket
│
Connect VPN
│
Connect To Device

Configure Private APN
│
Activate PDP Context
│
Receive Fixed IP Address
│
Connect To Server
│
Maintain Socket
│
Exchange Data

| Requirement | Recommended Architecture |
|---|---|
| Direct PLC Access | Inbound Socket |
| Direct SCADA Polling | Inbound Socket |
| Remote Engineering Access | Inbound Socket |
| Large Device Fleets | Outbound Socket |
| Cloud Integration | Outbound Socket |
| Central Data Aggregation | Outbound Socket |
Cellular communication is inherently more secure than many traditional IP networking technologies because every device must authenticate with the mobile network before a data session can be established.
Unlike Ethernet or Wi-Fi networks, a cellular modem cannot simply transmit data after being connected. The SIM card must first authenticate with the mobile operator, which verifies the subscriber's identity and establishes a secure radio session before allowing any traffic onto the network.
Modern LTE and 5G networks include multiple built-in security mechanisms that protect communications between the modem and the mobile operator.
These include:
These mechanisms help prevent unauthorised devices from accessing the cellular network and protect wireless communications from interception.
Important Note
Cellular network security protects communications between the modem and the mobile operator. Once traffic leaves the operator's core network, additional protection such as a VPN should be used whenever end-to-end encryption is required.
The diagram below illustrates the security mechanisms that exist before any VPN tunnel is established.

Industrial PLC
│
Siretta ZETA Modem
│
SIM Authentication
│
Encrypted Radio Interface
│
Mobile Base Station
│
Mobile Operator Core Network
The diagram should highlight:
Expected Result
The reader should understand that the mobile network already provides multiple layers of security before VPN encryption is introduced.
Many industrial control systems establish the VPN tunnel directly from the PLC or industrial controller rather than from the cellular modem.
In this architecture the Siretta modem simply provides IP connectivity between the industrial controller and the cellular network. The encrypted VPN tunnel originates within the PLC, passes transparently through the modem and mobile network, and terminates at the customer's VPN gateway.
Because the VPN originates within the industrial controller, the application data remains encrypted for its entire journey across the cellular network, the private APN and the operator's core network.
The modem never decrypts, inspects or terminates the VPN traffic.
This architecture is commonly implemented using:
Implementing the VPN within the PLC or industrial controller provides several advantages:
Important Note
The Siretta modem acts purely as an IP transport device. It forwards encrypted IP packets but does not decrypt, inspect or terminate the VPN tunnel.
The following example illustrates a PLC establishing the VPN tunnel while the Siretta modem simply transports encrypted IP packets across the cellular network.

Industrial PLC
(VPN Client)
│
Serial
│
Siretta ZETA Modem
(IP Transport Only)
│
LTE / 4G / 5G Network
│
Private APN
│
Mobile Operator Core Network
══════════════════════════════════════
Encrypted VPN Tunnel
══════════════════════════════════════
│
Customer Firewall
│
VPN Gateway
│
Application Server
The VPN tunnel should begin at the PLC and terminate at the customer VPN gateway, passing transparently through:
without terminating at any of these intermediate devices.
The modem should include a callout stating:
IP Transport Only
The modem forwards encrypted VPN packets and does not decrypt, inspect or terminate the VPN tunnel.
When combined, the cellular network, Private APN and VPN each provide different but complementary layers of protection.
| Security Layer | Protection Provided |
|---|---|
| Cellular Network | SIM authentication, mutual authentication and encrypted radio communications |
| Private APN | Network isolation, controlled routing and removal from the public Internet |
| VPN | End-to-end encryption, authentication, integrity checking and secure application transport |
Together these technologies create a defence-in-depth architecture suitable for secure industrial IoT deployments.
Best Practice
Siretta recommends combining the inherent security of the cellular network with a Private APN and an end-to-end VPN established by the PLC or industrial controller. This architecture provides network isolation, encrypted communications and controlled access while keeping the modem configuration simple and application independent.
For most industrial deployments:
Expected Result
A secure communication path should now exist between the remote cellular modem, the private APN infrastructure, the VPN-connected network and the end application.
Reference Centre
Return to the Industrial Modem Application Notes