This guide will help you get started with OpenRDX, from installation to running your first authentication.
git clone https://github.com/ilinaya/OpenRDX.git
cd OpenRDX
cp .env.example .env
# Edit .env file with your configuration
./scripts/generate-ssl.sh
The easiest way to start all services is using the provided compose.sh script:
./compose.sh
This script will:
The script requires:
.env fileAPI_URL environment variable to be setAlternatively, you can start services manually:
docker-compose up -d
docker-compose ps
# Using radtest (install with: apt-get install freeradius-utils)
radtest user password localhost 0 testing123
# Using radtest with TLS
radtest -t tls user password localhost:2083 0 testing123
The RADIUS server is configured through environment variables in .env:
# RADIUS settings
RADIUS_AUTH_PORT=1812
RADIUS_ACCT_PORT=1813
RADIUS_SECRET=your_shared_secret
# Database settings
DB_HOST=postgres
DB_PORT=5432
DB_NAME=openrdx
DB_USER=postgres
DB_PASSWORD=postgres
# MongoDB settings
MONGODB_URI=mongodb://mongodb:27017/radius_accounting
Configure RadSec settings in .env:
# RadSec settings
RADSEC_LISTEN_PORT=2083
RADSEC_TLS_CERT=/etc/radsecproxy/certs/server.crt
RADSEC_TLS_KEY=/etc/radsecproxy/certs/server.key
RADSEC_TLS_CA=/etc/radsecproxy/certs/ca.crt
Common issues and solutions:
docker-compose logsFor more detailed troubleshooting, see the Troubleshooting Guide.