feat: add FreeRADIUS configuration and containerization support with PostgreSQL integration
Build and Push Docker Image to Gitea Container Registry / build-and-push (push) Successful in 4m12s
Build and Push Docker Image to Gitea Container Registry / build-and-push (push) Successful in 4m12s
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
sql {
|
||||
driver = "rlm_sql_postgresql"
|
||||
dialect = "postgresql"
|
||||
|
||||
server = "postgres"
|
||||
port = 5432
|
||||
login = "radius"
|
||||
password = "radpass"
|
||||
radius_db = "radius"
|
||||
|
||||
read_clients = yes
|
||||
client_table = "nas"
|
||||
|
||||
group_attribute = "User-Group"
|
||||
|
||||
pool {
|
||||
start = 2
|
||||
min = 1
|
||||
max = 10
|
||||
spare = 3
|
||||
uses = 0
|
||||
retry_delay = 30
|
||||
lifetime = 0
|
||||
idle_timeout = 60
|
||||
}
|
||||
|
||||
read_groups = yes
|
||||
|
||||
$INCLUDE ${modconfdir}/${.:name}/main/${dialect}/queries.conf
|
||||
}
|
||||
Reference in New Issue
Block a user