Updated FreeRadius Rest (markdown)
parent
c26219e1b1
commit
5095b24f66
@ -53,16 +53,16 @@ rest {
|
||||
uri = "${..connect_uri}?action=authenticate"
|
||||
method = 'post'
|
||||
body = 'post'
|
||||
data = "username=%{urlquote:%{User-Name}}&password=%{urlquote:%{User-Password}}&CHAPchallenge=%{urlquote:%{CHAP-Challenge}}&CHAPassword=%{urlquote:%{CHAP-Password}}&realm=%{urlquote:%{Mikrotik-Realm}}&macAddr=%{urlquote:%{Calling-Station-Id}}&nasip=%{urlquote:%{NAS-IP-Address}}"
|
||||
tls = ${..tls}
|
||||
data = "username=%{urlquote:%{User-Name}}&password=%{urlquote:%{User-Password}}&nasid=%{urlquote:%{NAS-Identifier}}&CHAPchallenge=%{urlquote:%{CHAP-Challenge}}&CHAPassword=%{urlquote:%{CHAP-Password}}&realm=%{urlquote:%{Mikrotik-Realm}}&macAddr=%{urlquote:%{Calling-Station-Id}}&nasip=%{urlquote:%{NAS-IP-Address}}"
|
||||
tls = ${..tls}
|
||||
}
|
||||
|
||||
authorize {
|
||||
uri = "${..connect_uri}?action=authorize"
|
||||
method = 'post'
|
||||
body = 'post'
|
||||
data = "username=%{urlquote:%{User-Name}}&password=%{urlquote:%{User-Password}}&CHAPchallenge=%{urlquote:%{CHAP-Challenge}}&CHAPassword=%{urlquote:%{CHAP-Password}}&realm=%{urlquote:%{Mikrotik-Realm}}&macAddr=%{urlquote:%{Calling-Station-Id}}&nasip=%{urlquote:%{NAS-IP-Address}}"
|
||||
tls = ${..tls}
|
||||
data = "username=%{urlquote:%{User-Name}}&password=%{urlquote:%{User-Password}}&nasid=%{urlquote:%{NAS-Identifier}}&CHAPchallenge=%{urlquote:%{CHAP-Challenge}}&CHAPassword=%{urlquote:%{CHAP-Password}}&realm=%{urlquote:%{Mikrotik-Realm}}&macAddr=%{urlquote:%{Calling-Station-Id}}&nasip=%{urlquote:%{NAS-IP-Address}}"
|
||||
tls = ${..tls}
|
||||
}
|
||||
|
||||
accounting {
|
||||
|
Loading…
x
Reference in New Issue
Block a user