Updated FreeRadius (markdown)
parent
3a9deb021b
commit
22f31fb5f3
@ -43,6 +43,7 @@ Below is only a summary with the main information you have to change. Few hints
|
|||||||
- **client_table = "nas"** informs the FreeRADIUS that the info about the NAS clients are in a table called "nas".
|
- **client_table = "nas"** informs the FreeRADIUS that the info about the NAS clients are in a table called "nas".
|
||||||
- Uncomment all the information below if they are commented.
|
- Uncomment all the information below if they are commented.
|
||||||
|
|
||||||
|
`mods-available/sql`
|
||||||
|
|
||||||
```
|
```
|
||||||
sql {
|
sql {
|
||||||
@ -62,6 +63,10 @@ client_table = "nas"
|
|||||||
|
|
||||||
The second file informs FreeRADIUS to use either a database or the configuration files to find information about authorization and accounting. By default, the sql tag is commented out (since by default FreeRADIUS uses the configuration files for all the operations about accounting, authorization and so on). So, uncomment the sql tag under the sections authorize, accounting, post-auth, session. You should end up with something like the file below.
|
The second file informs FreeRADIUS to use either a database or the configuration files to find information about authorization and accounting. By default, the sql tag is commented out (since by default FreeRADIUS uses the configuration files for all the operations about accounting, authorization and so on). So, uncomment the sql tag under the sections authorize, accounting, post-auth, session. You should end up with something like the file below.
|
||||||
|
|
||||||
|
For all categories, remove the “file” directive and add the “sql” one. This will instruct FreeRADIUS to relly on the database for user management.
|
||||||
|
|
||||||
|
`sites-available/default`
|
||||||
|
|
||||||
```
|
```
|
||||||
authorize {
|
authorize {
|
||||||
.....
|
.....
|
||||||
@ -114,6 +119,8 @@ Restart Freeradius
|
|||||||
```
|
```
|
||||||
#Ubuntu
|
#Ubuntu
|
||||||
systemctl restart freeradius.service
|
systemctl restart freeradius.service
|
||||||
|
or
|
||||||
|
system freeradius restart
|
||||||
|
|
||||||
#Red Hat
|
#Red Hat
|
||||||
service radiusd restart
|
service radiusd restart
|
||||||
|
Loading…
x
Reference in New Issue
Block a user