Skip to content

Instantly share code, notes, and snippets.

@nasirhafeez
Created March 25, 2025 09:21
Show Gist options
  • Save nasirhafeez/6903d7a6e377556de9d0ba9123225d83 to your computer and use it in GitHub Desktop.
Save nasirhafeez/6903d7a6e377556de9d0ba9123225d83 to your computer and use it in GitHub Desktop.
FreeRADIUS Youtube Companion

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