Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions freeradius/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
acb-2024
2 changes: 2 additions & 0 deletions freeradius/raddb/authorized_macs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
00-11-22-33-44-55
Reply-Message = "Device with MAC Address %{Calling-Station-Id} authorized for network access"
4 changes: 4 additions & 0 deletions freeradius/raddb/clients.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
client 0.0.0.0/0 {
secret = testing123
shortname = all
}
17 changes: 17 additions & 0 deletions freeradius/raddb/mods-config/files/authorize
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
cvpadmin Cleartext-Password := "cvpadmin"
Arista-AVPair = "shell:priv-lvl=15",
Service-Type = NAS-Prompt-User

cvpuser Cleartext-Password := "cvpuser"
Arista-AVPair = "shell:priv-lvl=15",
Service-Type = NAS-Prompt-User

demoradius Cleartext-Password := "demoredius"
Arista-AVPair = "shell:priv-lvl=15",
Service-Type = NAS-Prompt-User

aradmin Cleartext-Password := "aradmin"
Auth-Type := Accept,
Service-Type := NAS-Prompt-User,
Arista-AVpair = "shell:priv-lvl=15",
Arista-AVpair = "shell:cvp-roles=network-admin"
14 changes: 14 additions & 0 deletions freeradius/raddb/mods-config/files/authorized_macs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
files authorized_macs {
# The default key attribute to use for matches. The content
# of this attribute is used to match the "name" of the
# entry.
key = "%{Calling-Station-ID}"

usersfile = ${confdir}/authorized_macs

# If you want to use the old Cistron 'users' file
# with FreeRADIUS, you should change the next line
# to 'compat = cistron'. You can the copy your 'users'
# file from Cistron.
# compat = no
}
Loading