Development
This commit is contained in:
parent
6f23a57220
commit
4f5f2a8071
5 changed files with 157 additions and 9 deletions
|
|
@ -43,6 +43,68 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "card",
|
||||
"label": "Options",
|
||||
"client_requirement": "client_is_administrator+",
|
||||
"items": [
|
||||
{
|
||||
"type": "form",
|
||||
"action": "/action/radius/options_save",
|
||||
"method": "post",
|
||||
"items": [
|
||||
{
|
||||
"type": "field",
|
||||
"label": "MAC Address Format",
|
||||
"name": "mac_format",
|
||||
"input_type": "select",
|
||||
"value": "%RADIUS_MAC_FORMAT%",
|
||||
"options": [
|
||||
{"value": "aabbccddeeff", "label": "aabbccddeeff"},
|
||||
{"value": "aa-bb-cc-dd-ee-ff", "label": "aa-bb-cc-dd-ee-ff"},
|
||||
{"value": "aa:bb:cc:dd:ee:ff", "label": "aa:bb:cc:dd:ee:ff"},
|
||||
{"value": "AABBCCDDEEFF", "label": "AABBCCDDEEFF"},
|
||||
{"value": "AA-BB-CC-DD-EE-FF", "label": "AA-BB-CC-DD-EE-FF"},
|
||||
{"value": "AA:BB:CC:DD:EE:FF", "label": "AA:BB:CC:DD:EE:FF"}
|
||||
],
|
||||
"hint": "Format used in the FreeRADIUS users file. Must match your AP/controller's expected format."
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"label": "Apply DEFAULT Rule To",
|
||||
"name": "apply_to",
|
||||
"input_type": "select",
|
||||
"value": "%RADIUS_APPLY_TO%",
|
||||
"options": [
|
||||
{"value": "all", "label": "All clients"},
|
||||
{"value": "wireless", "label": "Wireless clients only (NAS-Port-Type = Wireless-802.11)"}
|
||||
],
|
||||
"hint": "Scoping to wireless only prevents the DEFAULT rule from assigning a VLAN to unknown wired switch ports."
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"label": "Auth Logging",
|
||||
"name": "logging",
|
||||
"input_type": "checkbox",
|
||||
"checkbox_label": "Log auth requests",
|
||||
"value": "%RADIUS_LOGGING%",
|
||||
"hint": "Enables auth logging in radiusd.conf (auth, auth_accept, auth_reject). High volume on busy networks."
|
||||
},
|
||||
{
|
||||
"type": "button_row",
|
||||
"items": [
|
||||
{
|
||||
"type": "button_primary",
|
||||
"action": "/action/radius/options_save",
|
||||
"method": "post",
|
||||
"text": "Save"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue