LinuxCommandLibrary

radiusd

TLDR

Start RADIUS server

$ radiusd
copy
Start in debug mode
$ radiusd -X
copy
Check configuration
$ radiusd -C
copy
Foreground with debug
$ radiusd -f -X
copy
Specific config file
$ radiusd -d [/etc/raddb]
copy

SYNOPSIS

radiusd [options]

DESCRIPTION

radiusd is the FreeRADIUS server daemon. RADIUS (Remote Authentication Dial-In User Service) provides centralized authentication, authorization, and accounting for network access.

PARAMETERS

-X

Debug mode (verbose output).
-C
Check configuration only.
-f
Run in foreground.
-d dir
Configuration directory.
-n name
Server name.
-l file
Log file.

EXAMPLES

$ # Start daemon
radiusd

# Debug mode (very verbose)
radiusd -X

# Check config syntax
radiusd -C

# Foreground for systemd
radiusd -f

# Test authentication
radtest user password localhost 0 testing123
copy

CONFIGURATION

$ # Main directories
/etc/raddb/              # or /etc/freeradius/
/etc/raddb/radiusd.conf  # Main config
/etc/raddb/clients.conf  # RADIUS clients
/etc/raddb/users         # User definitions
copy

PORTS

$ 1812 - Authentication
1813 - Accounting
copy

CAVEATS

Complex configuration. Requires careful security setup. Debug mode outputs secrets - use only for testing.

HISTORY

FreeRADIUS is the most widely deployed RADIUS server, started in 1999 by Alan DeKok and Miquel van Smoorenburg.

SEE ALSO

radtest(1), radclient(1), radwho(1)

Copied to clipboard