Glossary term · Core Network

TNGF

Trusted Non-3GPP Gateway Function

Core Network →

TNGF is a 5G Core Network function that provides secure, trusted gateway access for devices connecting via non-3GPP networks like Wi-Fi, authenticating them and establishing IPsec tunnels into the core.

Introduced
Rel-16
Specifications
14 specs
Category
Core Network
Introduced
Rel-16
Specifications
14 specs
TNGF Description Purpose Related Classification Detected Changes Specifications

Description

The Trusted Non-3GPP Gateway Function (TNGF) is a critical component within the 5G Core Network (5GC) architecture, specifically defined for the Non-3GPP InterWorking Function (N3IWF) in the context of trusted non-3GPP access. Its primary role is to facilitate secure and controlled connectivity for UEs that utilize non-3GPP radio access technologies, most notably trusted Wi-Fi networks. Architecturally, the TNGF resides in the user plane and control plane, interfacing with other core network functions. On the N1 reference point towards the UE, it terminates the N1 interface over the non-3GPP access, managing the signaling connection. It establishes IPsec Security Associations (SAs) with the UE to create secure tunnels for both control plane (N1) and user plane (N3) traffic. The TNGF connects to the Access and Mobility Management Function (AMF) via the N2 interface for control plane procedures and to the User Plane Function (UPF) via the N3 interface for data forwarding.

Operationally, when a UE initiates access via a trusted non-3GPP network, it discovers and selects a TNGF. The UE and TNGF perform mutual authentication and establish IPsec tunnels. The TNGF then acts as a proxy, relaying the UE's registration and session management signaling to the 5G Core via the AMF. It is responsible for encapsulating and decapsulating user plane packets between the IPsec tunnel and the N3 GTP-U tunnel towards the UPF. The TNGF also interacts with the Authentication Server Function (AUSF) and Unified Data Management (UDM) for credential-based authentication (e.g., using 5G-AKA or EAP-AKA').

A key aspect of the TNGF is its 'trusted' designation, which implies that the 5G Core network operator has a trust relationship with the non-3GPP access network provider. This trust can be based on a roaming agreement or direct ownership, allowing the core network to rely on the access network's security to a certain degree, though the TNGF still enforces its own security at the IPsec layer. The TNGF supports mobility and session continuity procedures, enabling handovers between 3GPP (e.g., NG-RAN) and trusted non-3GPP access without dropping the PDU Session. It is a fundamental enabler for the 5G convergence goal, providing a unified core network experience regardless of the underlying access technology.

Purpose & Motivation

The TNGF was introduced in 3GPP Release 16 to formally define and standardize the gateway function for trusted non-3GPP access within the 5G System (5GS). Prior to 5G, non-3GPP interworking (e.g., via ePDG in EPS) was often treated as an untrusted access, requiring heavy security termination at the gateway. The creation of the TNGF addresses the growing importance of high-quality, carrier-grade Wi-Fi and other fixed wireless accesses as integral parts of the mobile operator's service offering. It solves the problem of providing seamless, secure, and policy-coherent access to 5G core services over these alternative networks.

The motivation stems from the need for true access-agnostic service delivery. Operators sought to leverage their Wi-Fi deployments, or partnerships with Wi-Fi providers, as a trusted extension of their 5G radio coverage, especially for indoor environments and fixed wireless access scenarios. The TNGF provides a standardized architecture that ensures security (through mandatory IPsec), supports 5G-specific features like network slicing and QoS over the non-3GPP link, and enables smooth mobility. It addresses limitations of previous non-3GPP interworking solutions by being natively integrated into the 5G Service-Based Architecture (SBA), using the same authentication frameworks and policy control (via the PCF) as 3GPP access, thereby eliminating functional silos.

Classification

Part ofN3IWF

Detected Changes Across Releases

from 3GPP Change Requests

Specific changes extracted from the „Change history“ tables of 3GPP specifications (18 CRs across 5 releases). Complements the general historical overview above with the evidence-based evolution of this function.

Rel-16 4 changes
  • N3 terminations of W-AGF, TNGF and TWIF for UPF selection TS 29.502CR0249
  • Completing the introduction of TNGF in 23.501 TS 23.501CR1553
  • Extending congestion notification to capture N3IWF or TNGF overload TS 24.502CR0130
  • Correction of TNGF procedure TS 24.502CR0135
Rel-17 3 changes
  • Layer below IPsec to enable NAT traversal for TNGF/N3IWF access TS 23.501CR3442
  • R17 Correction on TNGF functionality TS 23.501CR3709
  • Addition of TWIF and TNGF as Non-3GPP Accesses TS 33.127CR0130
Rel-18 8 changes
  • TNGF selection enhancement for support of S-NSSAI needed by UE TS 23.501CR3953
  • Support of TNGF selection for S-NSSAI TS 29.525CR0255
  • Slice based TNGF and N3IWF selection TS 29.525CR0323
  • Clarification on N3IWF/TNGF selection to support of S-NSSAI needed by UE TS 23.501CR4351
  • Clarification on TNGF identifiers TS 23.501CR4951
  • Corrections to UE behaviors when receiving N3IWF/TNGF information in the REGISTRATION REJECT message TS 24.502CR0241

+ 2 more changes

Rel-19 2 changes
  • Mobility of the UE connected to a TNAP to another TNAP connected to the same TNGF TS 24.502CR0313
  • Correction to Mobility of the UE connected to a TNAP to another TNAP connected to the same TNGF TS 24.502CR0316
Rel-20 1 change
  • N3IWF/TNGF reselection considering energy related information. TS 23.501CR6493

Explore further

Broader topics and technologies where TNGF plays a role.

Defining Specifications

3GPP specifications that define or reference TNGF, with the latest known release. Sourced from the 3GPP document catalog — see methodology.

SpecificationTitleRelease
TS 23.501 vk20 5G System Architecture Stage 2 Rel-20
TS 24.501 vk00 5G System (5GS) Non-Access Stratum (NAS) Protocol Rel-20
TS 24.502 vk00 Non-3GPP Access Network Discovery and Selection Rel-20
TS 24.526 vj40 UE Policies for 5G System (5GS) Rel-19
TS 29.214 vj30 Rx Reference Point Stage 3 Specification Rel-19
TS 29.413 vj00 NGAP for Non-3GPP Access Rel-19
TS 29.502 vk00 3GPP TS 29502 vk00: Nsmf Service Based Interface Rel-20
TS 29.510 vk00 NRF Services and Protocol Specifications Rel-20
TS 29.525 vk00 UE Policy Control Service Stage 3 Rel-20
TS 33.127 vj70 Lawful Interception Architecture and Functions Rel-19
TS 33.128 vj70 Lawful Interception in 5G System Rel-19
TS 33.501 vk20 5G Security Architecture and Procedures Rel-20
TS 33.807 vg01 5G Wireline-Wireless Convergence Security Study Rel-16
TS 38.413 vj30 NG Application Protocol (NGAP) for 5G NG Interface Rel-19