Hosted epdg playground

This page is going to document the playground that we're setting up for playing with the (in-development state) of osmo-epdg.
The setup is also described using ansible



Hostname: (IPv4 + IPv6)

netdev IP Description
enp1s0 2001:780:45:1d::46:81 Public Internet
enp7s0 internal network

This is a Debian 12 VM where the osmo-epdg (consiting of modified strongswan code, erlang ePDG and linux kernel GTP) will run.


Hostname: (IPv6 only)

netdev IP Description
eth0 2001:780:45:1d::f046:1000 Public Internet
eth1 internal network

This is a Debian 12 lxc container where we'll run HSS + PGW (open5gs)


Hostname: (IPv6 only)

netdev IP Description
eth0 2001:780:45:1d::f046:1001 Public Internet
eth1 internal network

This is a Debian 12 lxc container VM where we'll run the IMS core (Kamailio)

Internal network

The hosts mentioned above share a private bridged network. That network has no DHCP server and no router. It's purely for communication between the network elements

How to use the playground:

Configure your local UE

Point your UE or use SWu-IKEv2 to use
Alternative you can override the correct dns entries.
E.g. ->

Get your Simcard into the database on Use open5gs-dbctl add


To do a test run with the current development state:

osmo-epdg and strongswan are now managed by systemd units.

- to improve development speed, you should restart the smfd or you need to wait until it re-connects.
- The pcrfd also needs to be restarted because the smfd will otherwise reject Session. (It will also automatic re-connect, but takes time too).

ssh systemctl restart open5gs-smfd
sleep 1
ssh systemctl restart open5gs-pcrfd

Add an IMSI

# imsi, ki, opc
open5gs-dbctl add 901700000000000 11111111111111111111111111111111 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
# take a free msisdn
open5gs-dbctl msisdn 901700000000000 0301234
# allow to use ims apn
open5gs-dbctl update_apn 901700000000000 ims 1
Files (0)

Updated by lynxis about 1 month ago · 14 revisions

Add picture from clipboard (Maximum size: 48.8 MB)