Freeradius 3 - Config with realm

May 22, 2018

Fungsi realm disini untuk membedakan dari host/client mana radius tersebut diakses
misal :
username : root
password : 123
realm : root.web.id

username pada radcheck menjadi root@root.web.id dengan value/password 123

config :
proxy.conf :
realm root.web.id {
type = radius
authost = LOCAL
acchost = LOCAL
nostrip
}

atau bisa dibuat wildcard dengan :
realm *.root.web.id {
............
}

sites-available/default :
authorize {
suffix
ntdomain
}

Lakukan pengujian

radtest root@root.web.id 123 localhost 1812 testing123