Skip to main content

RADIUS server

Description

The lab uses a custom FreeRADIUS image as the authentication and accounting server for ESM subscribers.

Information

ParameterValue
Management IP10.99.1.8
Default imageghcr.io/abelperezr/freeradius-custom:0.1
Secrettestlab123
Auth Port1812
Acct Port1813
SSH56617

Deployment options

Option 1 (default): pull from GitHub Container Registry

docker pull ghcr.io/abelperezr/freeradius-custom:0.1

lab.yml is already configured to use this image for the radius node.

Option 2: build locally

Build directory:

  • small-isp-lab/radius-custom

Commands:

cd small-isp-lab/radius-custom
./build.sh

Then you can temporarily switch the image in lab.yml to your local tag.

Actual files used by the radius node

In lab.yml (bind mounts)

FileContainer destinationPurpose
configs/radius/clients.tmpl.conf/etc/freeradius/clients.confRADIUS clients (BNGs)
configs/radius/authorize/etc/freeradius/mods-config/files/authorizeUser and attribute database

In radius-custom/ (image build)

FilePurpose
radius-custom/DockerfileCustom FreeRADIUS image build
radius-custom/entrypoint.shContainer startup logic
radius-custom/build.shQuick local image build