Sign inSign up

louisroyer/dev-free5gc-upf

By louisroyer

•Updated 5 days ago

Free5GC UPF

Image
Networking
0

7.6K

louisroyer/dev-free5gc-upf repository overview

WARNING: The following image is NOT an official build of Free5GC, in the future it may include beta-functionalities.

By default, configuration file from templating is used if no --config or -c is passed as argument. To start without argument, use:

command: [" "]

⁠Routing

If you choose to configure the container using docker-setup (default), please refer to docker-setup's documentation⁠. The environment variable ONESHOT is set to "true".

⁠License

Please note that even if this software is not yet properly packaged using .deb, the generated binary files /usr/local/bin/upf and /usr/local/gtp5g-tunnel are provided to you under Apache Version 2.0 License. A copy of this license can be found in /usr/share/common-licenses/Apache-2.0. A copy of the source code is available at in repositories free5gc/go-upf⁠ and free5gc/go-gtp5gnl⁠.

⁠Usage

To use this UPF, first install Free5CG's GTP5G kernel module⁠ on your host. Please note that you need to have Linux headers installed on the host to be able to install the module (for example, the package linux-headers-amd64 on Debian if you are on an amd64 architecture).

⁠Configuration

Environment variable used to select templating system:

environment:
  ROUTING_SCRIPT: "docker-setup"
  TEMPLATE_SCRIPT: "template-script.sh"
  TEMPLATE_SCRIPT_ARGS: ""
  CONFIG_FILE: "/etc/free5gc/upf.yaml"
  CONFIG_TEMPLATE: "/usr/local/share/free5gc/template-upf.yaml"

Environment variables for templating:

environment:
  N4: "203.0.113.2"
  IF_LIST: |-
    - addr: "233.252.0.1"
      type: N3
  DNN_LIST: |-
    - dnn: internet
      cidr: 10.0.0.0/23
    - dnn: edge
      cidr: 10.0.3.0/23
  LOG_LEVEL: "info"

Tag summary

Content type

Image

Digest

sha256:819d6a3f4…

Size

43.4 MB

Last updated

5 days ago

docker pull louisroyer/dev-free5gc-upf