feat: cascade client — custom Endpoint + AWG_PROFILES hint

- POST /api/clients/create-cascade: genkeys, add peer, save last_config, download .conf
- Optional tunnel IP in VPN subnet; obfuscation from server [Interface] when present
- /api/protocols: singleProfile hint for missing instance selector
- UI: cascade form, profile banner; README cascade section

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Андрей Бобырев
2026-05-14 18:44:11 +03:00
parent 227bb94627
commit f3aab6cc6e
5 changed files with 384 additions and 4 deletions

View File

@@ -528,6 +528,35 @@ tr:last-child td {
max-width: 22rem;
}
.profile-hint {
margin: 0 0 0.75rem;
padding: 0.65rem 0.95rem;
border-radius: 12px;
border: 1px solid rgba(251, 191, 36, 0.35);
background: rgba(251, 191, 36, 0.07);
max-width: 52rem;
}
.cascade-intro code.inline {
font-size: 0.85em;
}
.cascade-form {
display: grid;
gap: 0.55rem;
max-width: 28rem;
margin-top: 0.85rem;
}
.cascade-form label {
font-size: 0.82rem;
color: var(--muted);
}
.cascade-form input {
width: 100%;
}
.raw {
margin-top: 1.25rem;
color: var(--muted);