baa3ef5f76
Some router AmneziaWG implementations only support "classic" AmneziaWG 1.0 obfuscation and reject AWG 2.0 configs (range H1-H4, S3/S4, I1-I5 magic packets) that the Amnezia app and newer servers use — the config imports/ handshakes fine on phones but fails on the router. scripts/awg_downgrade_obfuscation.sh converts a server's wg0/awg0.conf to a router-compatible classic set: keeps Jc/Jmin/Jmax/S1/S2, collapses H1-H4 ranges to single values, drops S3/S4 and I1-I5, then reloads the interface (auto-detecting awg/wg). After running it, regenerate client configs in the panel (which mirrors the server's params) and re-import on all devices. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>