Fix Cascade egress verify to bind awg0 IP (v2.2.1).

Use client-subnet policy routing for curl checks instead of cascade peer Address; soft-warn when echo services fail but the route is OK.
This commit is contained in:
orohi
2026-07-27 04:27:00 +03:00
parent ac76a0e540
commit 80160d0ef4
9 changed files with 168 additions and 26 deletions
+3
View File
@@ -3274,6 +3274,9 @@
handshake: !!(res.cascade && res.cascade.handshake),
});
showToast(enable ? _('cascade_enabled') : _('cascade_disabled'), 'success');
if (enable && res.warning) {
showToast(res.warning, 'info');
}
await loadCascade();
} catch (err) {
showToast(_('error') + ': ' + err.message, 'error');