Skip to content

Instantly share code, notes, and snippets.

@ohidurbappy
Created June 16, 2023 08:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ohidurbappy/2dd261105a1536c646551de38c74a4f9 to your computer and use it in GitHub Desktop.
Save ohidurbappy/2dd261105a1536c646551de38c74a4f9 to your computer and use it in GitHub Desktop.
Setting up freeradius server on ubuntu

Installing

apt-get update
apt-get install freeradius -y

edit /etc/freeradius/clients.conf

Add to file

client  0.0.0.0/0 {
secret          = {RADIUS shared key}
shortname       = any
}

edit /etc/freeradius/users

Add to file

testuser Cleartext-password :="password"
service freeradius restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment