openwrt/packages/luci-app-ocserv/root/usr/share/luci/menu.d/luci-app-ocserv.json
Ivan Cherniy 606e2d0e2e luci-app-ocserv: add virtual host support
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>
2026-11-02 23:52:09 +03:00

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"
}
}
}