Introduction
Private Wireless Gateway (PGW) is an element that routes traffic between a group of Telnyx SIMs and other network elements. Refer to this guide for more information on PGW.Creating a PGW
Step 1: Create a Network
Follow this guide.Step 2: Check for Coverage
Follow this guide. Usefilter[available_services][contains]=private_wireless_gateway to look for a desired site at which to deploy the WGW.
Currently, Ashburn, VA is the only supported site. We are working on making more sites available.
Step 3: Create a PGW
Once a PGW is created on a specific network, it cannot be “migrated” to another one; it needs to be recreated on the other network. Double check the correct network_id is used in the following API request.
provisioning.
Step 4: Wait for Status Transition
The expected time forstatus.value to transition to provisioned is approximately 15 minutes. You can poll the PGW to check for status.
Step 5: Attach a SIM Group
The PGW is of little use when there is no SIMs are attached to it. Individual SIM must be added to a SIM group which then can be attached to the PGW. This is easily accomplished on the Mission Control Portal. PGW will show the SIM group after a successful attachment.Use Cases
In the following examples, abbreviations are consistently used for brevity.- PWG = Private Wireless Gateway
- WGW = WireGuard Gateway
- IGW = Internet Gateway
- VXC = Virtual Cross Connect
Use Case 1: PWG + WGW
We will construct this architecture which is useful when- Traffic to and from SIMs needs to be segmented and private, and
- They do not need high bandwidth connection back to your internal service.

- The connected device is an iPhone.
- It only has access to the peers attached to the WGW; there exists no default route for them.
- Internal Service Peer is a Droplet on DigitalOcean that runs an toy Apache web server.
- Admin Peer is a local host.
AllowedIPs of the [Peer] config.

Use Case 2: PWG + WGW + IGW
The above architecture lacks a crucial functionality --- internet reachability. Though a workaround can be constructed by using one of the peers as an exit node for all default traffic, it’s far better to attach an IGW to the network.


- the iPhone’s wifi is turned off
- its “Default Gateway IP” is
100.64.199.1which is that of the PGW - its “External IP” is
64.16.243.172which is that of the IGW - it can ping
google.com
Use Case 3: PWG + WGW + IGW + VXC
Currently, the PWG + WGW + IGW + VXC combination only works when WGW, IGW, and VXC are at the Frankfurt Site.
We are working on expanding the coverage so it will work universally across all Telnyx sites.
- a VXC from AWS
eu-central-1 - an EC2 in AWS
eu-central-1running a toy Apache server.


traceroute output from within the EC2 instance. Latency is high as expected since the EC2 is in Frankfurt while the device is attached to a PGW in Ashburn.


Costs
- The monthly recurring cost (MRC) for each instance of PGW is $100.
- Additional costs on SIM and data are applicable as well. Consult this guide for more detail.