radius
radius
Type: Directory
RADIUS servers that the router services use for authentication and accounting. The entries are used in the order of the list. See RADIUS for the full guide.
| Flag | Name | Description |
|---|---|---|
| X | disabled | The entry is disabled and is not used. |
| Argument | Type | Description |
|---|---|---|
| service | ubit (ppp, login, hotspot, wireless, dhcp, ipsec, dot1x) | Router services that use this server. Each service also has its own setting that turns RADIUS on.
|
| called-id | string | The entry is used only for requests with this Called-Station-Id. For PPPoE it is the service name, for PPTP and L2TP the IP address of the server. An empty value matches every request. Default: empty. |
| domain | string | The entry is used only for users with this domain in the login name (DOMAIN\name or name@domain). An empty value matches every user. Default: empty. |
| address ( mandatory ) | address (flags=46v) | IPv4 or IPv6 address of the RADIUS server. With an IPv6 address the router sends NAS-IPv6-Address in place of NAS-IP-Address. To reach the server in a VRF, add the VRF name: address@vrf. |
| secret | string | Shared secret of the router and the server. Not used with protocol=radsec. This is a sensitive parameter. |
| authentication-port | num | UDP port of the server for authentication requests. Not used with protocol=radsec. Range: 1..65535. Default: 1812. |
| accounting-port | num | UDP port of the server for accounting requests. Not used with protocol=radsec. Range: 1..65535. Default: 1813. |
| timeout | time | Time to wait for an answer before the request is sent again. Default: 1100ms. |
| radsec-timeout | time | Time to wait for an answer before the request is sent again over RadSec. Default: 3300ms. |
| accounting-backup | bool | Whether the server gets a copy of the accounting requests.
|
| realm | string | Value of the Mikrotik-Realm attribute in the Access-Requests of the entry. Without it, the attribute has the domain of the user name, and it is not sent when the name has no domain. Default: empty. |
| src-address | alt { ip-address: ipAddr , ipv6-address: ip6Addr } | Source IPv4 or IPv6 address of the packets sent to the server. The same address is sent as NAS-IP-Address. Default: not set, the router selects the address. |
| protocol | enum (udp | radsec) | Transport of the requests.
|
| certificate | enum (none) { none:0 } | Client certificate, with its private key, for protocol=radsec. The certificate authority of the server must be a trusted certificate on the router, and the certificate of the server must contain the value of address. Default: none. |
| require-message-auth | enum (no | yes-for-request-resp) | Whether an answer to an Access-Request must have the Message-Authenticator attribute. The router adds the attribute to every Access-Request with either value.
|
| Read-only Argument | Type | Description |
|---|---|---|
| status | string | Last connection error of the entry, for example error: Connection refused. With protocol=radsec, the state of the TLS connection: connecting, performing TLS handshake, TLS connected, or an error such as connect:Connection refused or client certificate required. |