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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C76FC3A5A1 for ; Sun, 25 Aug 2019 18:45:26 +0000 (UTC) Received: from krantz.zx2c4.com (krantz.zx2c4.com [192.95.5.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AD351206BA for ; Sun, 25 Aug 2019 18:45:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD351206BA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=friedels.name Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=wireguard-bounces@lists.zx2c4.com Received: from krantz.zx2c4.com (localhost [IPv6:::1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 341f0572; Sun, 25 Aug 2019 18:44:58 +0000 (UTC) Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 459fa3d7 for ; Sun, 25 Aug 2019 18:44:57 +0000 (UTC) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.104]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 36d0f0f4 for ; Sun, 25 Aug 2019 18:44:56 +0000 (UTC) Received: from [92.76.198.6] (helo=[192.168.177.20]) by smtprelay06.ispgateway.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1i1xVX-0002TD-LO; Sun, 25 Aug 2019 20:44:55 +0200 From: "Hendrik Friedel" To: "Vasili Pupkin" Subject: Re[2]: Keep-alive does not keep the connection alive Date: Sun, 25 Aug 2019 18:44:53 +0000 Message-Id: In-Reply-To: References: User-Agent: eM_Client/7.2.34062.0 Mime-Version: 1.0 X-Df-Sender: aGVuZHJpa0BmcmllZGVscy5uYW1l Cc: wireguard@lists.zx2c4.com X-BeenThere: wireguard@lists.zx2c4.com X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Hendrik Friedel List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: wireguard-bounces@lists.zx2c4.com Sender: "WireGuard" Hello, thanks for your reply. It is linux (Kernel 5.x) in both cases. Regards, Hendrik ------ Originalnachricht ------ Von: "Vasili Pupkin" An: "Hendrik Friedel" Cc: wireguard@lists.zx2c4.com Gesendet: 25.08.2019 17:59:59 Betreff: Re: Keep-alive does not keep the connection alive >What OS is running on client side? I have this issue on Win7 client, >can explain it further, it has nothing to do with keepalives though, >it is a bug in tun adapter implementation > >On Sun, Aug 25, 2019 at 6:38 PM Hendrik Friedel wrote: >> I have a setup in which the Server IP is known, whereas the Client IP is changing. Thus, I rely on the Client to connect to the Server. I want the Client to keep the connection alive all the time though, so that the Server can also initiate a connection to the Server when needed. Both, client and server are behind a NAT/Router. >> I would think, that the "PersistentKeepalive = 25" on the Client would ckeep the connection open. The connection works fine while used. But after a while, I cannot connect from the Server to the client anymore. >> I would assume that a ping from the Client to the IP of the endpoint would help to re-alive the connection - but it does not. >> >> Only after a wg-quick down and up all is fine again. >> >> Below some more information. >> >> Can you help me to find, what I am doing wrong? _______________________________________________ WireGuard mailing list WireGuard@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/wireguard