BG

Border Gateway

Core Network →
Introduced in R99 Also in: Management, Services

BG is a functional entity in GPRS/UMTS networks that acts as a secure gateway between the GPRS backbone and external packet data networks, handling IP routing, address translation, and firewall functions.

Category
Core Network
Introduced
R99
Where
Core Network › Legacy Core
Also touches
2 segments
Specifications
11 specs
BG Description Purpose Related Classification Specifications

Description

The Border Gateway (BG) is a critical architectural component within the GPRS core network, specifically part of the Gateway GPRS Support Node (GGSN) functionality or implemented as a standalone node. Its primary role is to serve as the demarcation point between the secure, operator-controlled GPRS backbone (the GPRS Tunneling Protocol or GTP-based domain) and external, untrusted packet data networks like the public Internet or corporate intranets. The BG enforces security policies, performs network address translation (NAT), and manages IP routing to ensure data packets are correctly forwarded between the mobile user's device (MS) and the destination PDN.

Architecturally, the BG interfaces internally with other GPRS network nodes, primarily the GGSN, via the Gi reference point. Externally, it connects to PDNs. It operates at the IP layer, inspecting and processing IP packets. Key functional components include a firewall for packet filtering and access control, a NAT module to translate between private GPRS backbone IP addresses and public IP addresses used on external networks, and routing functions to determine the optimal path for data traffic. It may also incorporate charging gateway functions to collect data usage records for billing.

In operation, when a mobile device activates a Packet Data Protocol (PDP) context, the GGSN assigns it an IP address from the GPRS network's address pool. Outbound traffic from the mobile station is tunneled via GTP to the GGSN, which then forwards IP packets to the BG. The BG performs necessary NAT, replacing the private source IP with a public one, applies firewall rules, and routes the packet onto the external PDN. For inbound traffic destined for the mobile, the reverse process occurs: the BG receives packets, translates the public destination IP to the corresponding private IP, and forwards them to the GGSN for GTP tunneling to the Serving GPRS Support Node (SGSN) and ultimately the radio access network. This architecture isolates the GPRS core from external threats and manages IP address scarcity.

Purpose & Motivation

The Border Gateway was introduced in 3GPP Release 99 to address fundamental challenges in securely and efficiently connecting mobile networks to external IP-based networks as GPRS enabled packet-switched data services. Prior to GPRS, cellular networks were primarily circuit-switched for voice, with limited data capabilities. The shift to packet data required a secure gateway to bridge the operator's private network realm and public data networks, protecting network infrastructure and subscriber data from external attacks.

It solved several key problems: First, it provided essential security through firewall functionality, preventing unauthorized access from the Internet into the GPRS core. Second, it enabled efficient use of scarce public IPv4 addresses via Network Address Translation (NAT), allowing many mobile devices to share a pool of public IPs. Third, it managed routing between different administrative domains, ensuring packets correctly traversed from the mobile network to various external PDNs (e.g., Internet, IMS, corporate networks). The BG's creation was motivated by the need for a standardized, controlled interface (the Gi reference point) that could support diverse services like WAP browsing, email, and later, IMS multimedia, while maintaining operator control over security, charging, and policy enforcement.

Classification

Part ofGPRS
Related approachesNAT

Evolution Across Releases

R99 Initial

Introduced the Border Gateway as part of the GPRS architecture. Defined its role in providing secure interworking between the GPRS backbone and external Packet Data Networks (PDNs) via the Gi interface. Initial capabilities included basic firewall functions, NAT, and IP routing to enable early mobile data services like WAP and Internet access.

Explore further

Broader topics and technologies where BG plays a role.

Defining Specifications

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

SpecificationTitleRelease
TR 21.905 vj00 3GPP Technical Terms and Definitions Rel-19
TS 23.060 vj00 GPRS Service Description Stage 2 Rel-19
TS 23.228 vj50 IMS Stage-2 Service Description Rel-19
TR 23.923 v1300 Mobile IP+ Feasibility Study for UMTS/GPRS Rel-4
TS 28.702 vj00 Core Network NRM IRP Information Service Rel-19
TS 29.061 vj00 Packet Domain Interworking for PLMN Rel-19
TS 32.102 vj00 Telecom Management Physical Architecture Framework Rel-19
TS 32.622 vb10 Generic Network Resources IRP NRM Rel-11
TS 32.632 vb00 Core Network Resources IRP: Network Resource Model Rel-11
TS 32.732 vb00 IMS Network Resource Model IRP: Information Service Rel-11
TS 33.210 vj20 UMTS Security for IP Networks Rel-19
Patrick Zandl

About the author: Patrick Zandl (b. 1974)

Telecommunications specialist, technology journalist (founder of the Mobil server), and developer who has been running since 2025 — the largest Czech-language resource on AI-assisted programming. Formerly Chief Wizard Architect at Prusa3D and head of development for Turris at CZ.NIC; currently a consultant and instructor on AI implementation in companies.