From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.zx2c4.com (lists.zx2c4.com [165.227.139.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 14E4EC433F5 for ; Wed, 27 Apr 2022 18:48:18 +0000 (UTC) Received: by lists.zx2c4.com (OpenSMTPD) with ESMTP id f035c96d; Wed, 27 Apr 2022 18:48:16 +0000 (UTC) Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [2607:f8b0:4864:20::b30]) by lists.zx2c4.com (OpenSMTPD) with ESMTPS id be0a520d (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Mon, 25 Apr 2022 07:46:30 +0000 (UTC) Received: by mail-yb1-xb30.google.com with SMTP id v25so3751079ybd.8 for ; Mon, 25 Apr 2022 00:46:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=CMhR5VM/477a9Yj4YYtd8Ckd+NxR5Pi7JfTi20JrFec=; b=b25ANSEejlT5EIjmEpOT+MMY95nCdKOxWgjAvoXNVNZghk8B1g8S9ZMiA424okHn3g VqDpGndTR5YIn8CSHnFIB4zI5BAhvMWcZ896VgeD4nfBMwI344hDAA8MnXh0AF1PWT76 L2frVxq4n+35ANiRBsmwx7r1wYSpVDfdxR8jukJbjBJnNy5326pMZO9OPoYsCUcOSg4g damJhm2Q9Yac8gFy8Yqwtki3edO9Je7nu8Br+d+BI98PmgVJbGeAlxn69qmChxSB658J gbmLzhFMDanbSJg4LS3rpd4HgWunZHDle9klzV8DAhdD24CPsM+4OO49cPeL2V1gXWyW EYcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=CMhR5VM/477a9Yj4YYtd8Ckd+NxR5Pi7JfTi20JrFec=; b=bm9tUjKv3ZlP8HAk5Ubg1BpjPX1NPQ4pDuPlP6zGEnlul0nENp2kAxRBw4JCao4vOe 2tdkzgsYc/s+UM94h17iPVyo8R9jO8Qr5kS/SvYmd1bvWqn6fTnLxC2L88q57S0GMGUf 2LZkrRdvvP2sFLeAJsQhmZBb9lRd9569Ma2MZt/x2ytFJpfbI36WYRXRDALD6jJVktQR 17Ed/iJDMwJOX8ViQg/BsSGGu0th0u9WSYQpbDbRrBMWGIc9NR7COzpwghuwiqduPpco Dgawa11o+VRcw4B2Qcgd+ohJcx+jYs1pAEb+LCK1i/R6+5CDLUF3vsXylw0LPmHERc7R lf9g== X-Gm-Message-State: AOAM530PxLRrVHZlOUZ/tvMkh5Vqh2oCOVeFpS07fXTdWeoiS6S9SteJ i893LAePbkmosBskRqyJjMGdiOaeDygZG4CghpE+KgTdZfA= X-Google-Smtp-Source: ABdhPJyfilPj/OkCnylw35qUYt+XiAA8iobCboskWboyAWX3gdhWftyAQSr3/78pqgHsqsr4e+/Mfx7KrwdvcRuhp4Q= X-Received: by 2002:a25:3d8:0:b0:645:dba1:fe0f with SMTP id 207-20020a2503d8000000b00645dba1fe0fmr11134483ybd.457.1650872789049; Mon, 25 Apr 2022 00:46:29 -0700 (PDT) MIME-Version: 1.0 From: Szymon Nowak Date: Mon, 25 Apr 2022 09:46:18 +0200 Message-ID: Subject: Windows version two big problems To: wireguard@lists.zx2c4.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Wed, 27 Apr 2022 18:48:15 +0000 X-BeenThere: wireguard@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: wireguard-bounces@lists.zx2c4.com Sender: "WireGuard" I found two Wireguard problems under Windows and am looking for help First problem When you generate a key, its first character is =E2=80=9E\=E2=80=9D or = =E2=80=9E+=E2=80=9D then the peer configuration does not work properly and you cannot connect to such configured client Exampe C:\Program Files\WireGuard>wg genpsk +RFmc+cEztZ/XcNquWvUJdNqlVfYWB3fM7bVCDaUOV4=3D [Peer] PublicKey =3D vruCee8G/DSwxotMHfhYQu8hcDEyi6uX4XEjT4FDxDc=3D PresharedKey =3D +RFmc+cEztZ/XcNquWvUJdNqlVfYWB3fM7bVCDaUOV4=3D All the peers below stop working Second problem When i add rule to VPN peer example C:\Program Files\WireGuard>wg set peer_server peer pExQ/CXgvHrq6kSO15H+PnCwDxENY7Mk3P7rPYv0F3Y=3D preshared-key client3_PresharedKey allowed-ips 10.0.0.4/32 Then i cant update config file C:\Program Files\WireGuard>wg setconf peer_server peer_server.conf Line unrecognized: `Address=3D10.0.0.1/24' Configuration parsing error Wg not supporte "Addres line" - I know , only wq-quick supoort this rule but wg-quick not exist on Windows platform . Every time I have to add a rule manually and restart the service, then I disconnect all clients