Project

General

Profile

Hosted epdg playground » History » Version 5

lynxis, 02/08/2024 07:33 PM

1 1 laforge
h1. Hosted epdg playground
2
3
This page is going to document the _playground_ that we're setting up for playing with the (in-development state) of osmo-epdg.
4
5
6
h2. Hosts
7
8
h3. epdg
9
10
Hostname: @epdg.osmocom.org@ (IPv4 + IPv6)
11
12 2 laforge
|_.netdev|_.IP|_.Description|
13
|enp1s0|213.95.46.81 2001:780:45:1d::46:81|Public Internet|
14
|enp7s0|?|internal network|
15
16 1 laforge
This is a Debian 12 VM where the osmo-epdg (consiting of modified strongswan code, erlang ePDG and linux kernel GTP) will run.
17
18
h3. epc
19
20 3 lynxis
Hostname: @epc.epdg.osmocom.org@ (IPv6 only)
21 1 laforge
22 2 laforge
|_.netdev|_.IP|_.Description|
23
|eth0|2001:780:45:1d::f046:1000|Public Internet|
24
|eth1|?|internal network|
25
26
27 1 laforge
This is a Debian 12 lxc container where we'll run HSS + PGW (open5gs)
28
29
h3. ims
30
31
Hostname: @ims.epdg.osmocom.org@ (IPv6 only)
32 2 laforge
33
|_.netdev|_.IP|_.Description|
34
|eth0|2001:780:45:1d::f046:1001|Public Internet|
35
|eth1|?|internal network|
36 1 laforge
37
This is a Debian 12 lxc container where we'll run the IMS core (Kamailio)
38
39
h2. Internal network
40
41
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
42 4 lynxis
43
44
h2. How to use the playground:
45
46
h3. Configure your local UE
47
48 5 lynxis
Point your UE or use SWu-IKEv2 to use @epdg.osmocom.org@.
49
Alternative you can override the correct dns entries.
50
E.g. @epdg.epc.mnc001.mcc001.pub.3gppnetwork.org@
51 4 lynxis
Get your Simcard into the database.
52
53
h3. Development
54
55
To do a test run with the current development state:
56
57
- @tmux attach -t epdg@
58
- window 0 should contain the osmo-epdg
59
- window 1 should contain the strongswan
60
61
- restart osmo-epdg in window 0. @cd /srv/osmo-edpg ; rebar3 shell --config ./config/local.config@
62
- restart strongswan in window 1 @systemctl restart strongswan ; journalctl -f -u strongswan@
63
64
- to improve development speed, you should restart also the smfd or you need to wait until it re-connects.
65
- The pcrfd also needs to be restarted because the smfd will otherwise reject Session. (It will also automatic re-connect, but takes time too).
66
67
<pre>
68
ssh root@epc.epdg.osmocom.org systemctl restart open5gs-smfd
69
sleep 1
70
ssh root@epc.epdg.osmocom.org systemctl restart open5gs-pcrfd
71
</pre>
Add picture from clipboard (Maximum size: 48.8 MB)