Skip to content

Open5GS Core Network Overview

Open5GS is an open-source 5G SA (Standalone) and 4G LTE core network implementation that fully complies with 3GPP specifications.

Architecture Overview

                                    ┌─────────────┐
                                    │    NSSF     │
                                    └──────┬──────┘

┌─────────────┐    ┌─────────────┐    ┌────┴────┐    ┌─────────────┐
│    gNB      │───▶│    AMF      │───▶│   NRF   │◀───│    UDM      │
└─────────────┘ N2 └──────┬──────┘    └────┬────┘    └──────┬──────┘
                          │                │                │
                          │           ┌────┴────┐    ┌──────┴──────┐
                          │           │   SCP   │    │    UDR      │
                          │           └─────────┘    └─────────────┘
                          │ N11
                    ┌─────▼─────┐
                    │    SMF    │
                    └─────┬─────┘
                          │ N4
                    ┌─────▼─────┐
                    │    UPF    │────▶ Internet
                    └───────────┘ N6

Network Functions

Control Plane Functions

NFFull NameFunction
AMFAccess and Mobility Management FunctionAccess and mobility management, handles N1/N2 signaling
SMFSession Management FunctionSession management, controls UPF
NRFNetwork Repository FunctionNF registration and discovery
UDMUnified Data ManagementUser data management
UDRUnified Data RepositoryUser data storage
AUSFAuthentication Server FunctionAuthentication service
NSSFNetwork Slice Selection FunctionNetwork slice selection
PCFPolicy Control FunctionPolicy control
BSFBinding Support FunctionBinding support
SCPService Communication ProxyService communication proxy

User Plane Functions

NFFull NameFunction
UPFUser Plane FunctionUser plane processing, packet forwarding

Interfaces

InterfaceConnectionProtocolDescription
N1UE ↔ AMFNASNon-Access Stratum signaling
N2gNB ↔ AMFNGAP/SCTPRAN control plane
N3gNB ↔ UPFGTP-UUser data tunnel
N4SMF ↔ UPFPFCPSession management
N6UPF ↔ DNIPData network connection
N11AMF ↔ SMFHTTP/2Session management requests

Key Features

  • 5G SA Core Network: Complete 5G standalone support
  • 4G EPC: Backward compatible with 4G LTE
  • WebUI: Graphical subscriber management
  • MongoDB: Persistent user data storage
  • Containerization: Docker deployment support
  • Kubernetes: Cloud-native deployment support

System Requirements

  • OS: Ubuntu 22.04 LTS (recommended)
  • RAM: 4GB+
  • Storage: 10GB+
  • MongoDB: 4.4+

Configuration Files

Open5GS configuration files are located at /etc/open5gs/:

/etc/open5gs/
├── amf.yaml
├── smf.yaml
├── upf.yaml
├── nrf.yaml
├── udm.yaml
├── udr.yaml
├── ausf.yaml
├── nssf.yaml
├── pcf.yaml
├── bsf.yaml
└── scp.yaml

Log Files

Log files are located at /var/log/open5gs/:

bash
# View AMF logs
sudo tail -f /var/log/open5gs/amf.log

# View UPF logs
sudo tail -f /var/log/open5gs/upf.log

Next Steps

Released under the MIT License.