Skip to content

Instantly share code, notes, and snippets.

@nasirhafeez
Last active August 12, 2024 08:07
Show Gist options
  • Save nasirhafeez/b18b888691212443033f9b7d1ecb5058 to your computer and use it in GitHub Desktop.
Save nasirhafeez/b18b888691212443033f9b7d1ecb5058 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