Skip to content

Instantly share code, notes, and snippets.

@ca4ti
Forked from nasirhafeez/freeradius-setup.md
Created September 29, 2023 09:32
Show Gist options
  • Save ca4ti/902b6688e996894f518e0deb4aa23992 to your computer and use it in GitHub Desktop.
Save ca4ti/902b6688e996894f518e0deb4aa23992 to your computer and use it in GitHub Desktop.
FreeRADIUS Setup

FreeRADIUS Setup

Install FreeRADIUS:

apt-get install freeradius freeradius-mysql freeradius-utils

Allow all NAS clients to connect to it:

nano /etc/freeradius/3.0/clients.conf

Add the following lines at the end:

client all {
       ipaddr          = 0.0.0.0/0
       secret          = testing123
}

Authenticate all users without checking username/password:

nano /etc/freeradius/3.0/users

Add the following on top:

DEFAULT Auth-Type := Accept

Restart FreeRADIUS service:

systemctl restart freeradius.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment