Files
wlan-ap/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/ieee8021x-radius.json
John Crispin b2ad71e97d ieee8021x: replace c code with ucode
Signed-off-by: John Crispin <john@phrozen.org>
2023-11-03 09:39:38 +01:00

55 lines
787 B
JSON

{
"uuid": 2,
"interfaces": [
{
"name": "WAN",
"role": "upstream",
"ethernet": [
{
"select-ports": [
"WAN*"
]
}
],
"ieee8021x-ports": [ "LAN1" ],
"ipv4": {
"addressing": "dynamic"
}
},
{
"name": "LAN",
"role": "downstream",
"services": [ "ssh" ],
"ethernet": [
{
"select-ports": [
"LAN2"
]
}
],
"ipv4": {
"addressing": "static",
"subnet": "192.168.1.1/24",
"dhcp": {
"lease-first": 10,
"lease-count": 100,
"lease-time": "6h"
}
}
}
],
"services": {
"ieee8021x": {
"mode": "radius",
"radius": {
"auth-server-addr": "192.168.178.5",
"auth-server-port": 1812,
"auth-server-secret": "secret"
}
},
"ssh": {
"port": 22
}
}
}