Add a Virtual Hosts page, per-vhost PKI/CA and users, and a vhost-aware init script. Fixes found on a test VM: valid_domain declared after use, missing CRL for new vhosts, ocserv refusing to start without an address pool, and stale pbr policies after vhost deletion. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
57 lines
917 B
JSON
57 lines
917 B
JSON
{
|
|
"admin/vpn/ocserv": {
|
|
"title": "OpenConnect VPN",
|
|
"order": 50,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": [
|
|
"luci-app-ocserv"
|
|
],
|
|
"fs": {
|
|
"/etc/config/ocserv": "file"
|
|
}
|
|
}
|
|
},
|
|
"admin/vpn/ocserv/main": {
|
|
"title": "Server",
|
|
"order": 1,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "ocserv/main"
|
|
}
|
|
},
|
|
"admin/vpn/ocserv/accounts": {
|
|
"title": "Users & Groups",
|
|
"order": 2,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "ocserv/accounts"
|
|
}
|
|
},
|
|
"admin/vpn/ocserv/vhosts": {
|
|
"title": "Virtual Hosts",
|
|
"order": 4,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "ocserv/vhosts"
|
|
}
|
|
},
|
|
"admin/vpn/ocserv/users": {
|
|
"title": "Sessions",
|
|
"order": 5,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "ocserv/users"
|
|
}
|
|
},
|
|
"admin/vpn/ocserv/certs": {
|
|
"title": "Client Certificates",
|
|
"order": 3,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "ocserv/certs"
|
|
}
|
|
}
|
|
}
|