Skip to content

Latest commit

 

History

History

radius-disconnect-plugin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

CoA Radius Plugin for Keycloak( disconnect-message)

  • send disconnect message if the keycloak session has expired

Mikrotik configuration Example

  1. open Radius configuration page and open "Incomming" radiusPage
  2. radiusIncoming
  3. add Firewall Rule firewallRule firewallrule2

/ip firewall filter
add action=accept chain=input port=3799 protocol=udp
  1. 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
   }
}