CoA Radius Plugin for Keycloak( disconnect-message)
- send disconnect message if the keycloak session has expired
Mikrotik configuration Example
- open Radius configuration page and open “Incomming”
- add Firewall Rule
/ip firewall filter
add action=accept chain=input port=3799 protocol=udp
- activate CoA request on Keycloak side
{
"sharedSecret": "radsec",
"authPort": 1812,
"accountPort": 1813,
"numberThreads": 8,
"useUdpRadius": true,
"radsec": {
"privateKey": "config/private.key",
"certificate": "config/public.crt",
"numberThreads": 8,
"useRadSec": true
},
"coa":{
"port":3799,
"useCoA":true
}
}