<html><head><style>#x4378ac1a8d5e4bd79733224344e79ff8{
        font-family:'Segoe UI';
        font-size:12pt;
        color:#000;
        margin-left:0px;
        margin-right:8px;
        background-color:#FFF;
}
#x4378ac1a8d5e4bd79733224344e79ff8{
        font-family:'Segoe UI';
        font-size:12pt;
}#xe2c1111c7c8047e6b2382a2787faad5a{
        font-family:'Segoe UI';
        font-size:12pt;
        color:#000;
        margin-left:0px;
        margin-right:8px;
        background-color:#FFF;
}
#xe2c1111c7c8047e6b2382a2787faad5a{
        font-family:'Segoe UI';
        font-size:12pt;
}</style>

<style id="css_styles" type="text/css">blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: right;'] {  list-style-position: inside;}
body { font-family: Segoe UI; font-size: 12pt;   }</style></head><body class="plain"><div>Hello,</div><div><br /></div><div>yes, the Sever has a dynamic IP.</div><div><br /></div><div>>On the client, is the server peer ip correct?</div><div>Which entry are you refering to?</div><div><div id="xe2c1111c7c8047e6b2382a2787faad5a"><div style="zoom: 0.9;"><div>I assume </div><div>Endpoint = Dyn.IP:51820 </div><div><br /></div><div>Yes, but otherwise, the connection would not even be established, right?</div><div><br /></div><div>For reference, here the complete client config:</div><div><div id="x4378ac1a8d5e4bd79733224344e79ff8"><div><div>[Interface]</div><div>Address = 10.192.122.3/32</div><div>PrivateKey = xx=</div><div><br /></div><div>[Peer]</div><div>PublicKey = yy=</div><div>Endpoint = Dyn.IP:51820</div><div>AllowedIPs = 0.0.0.0/0</div><div>PersistentKeepalive = 25</div></div></div></div><div><br /></div><div>Regards,</div><div>Hendrik</div><div><br /></div></div></div></div><div><br /></div>
<div><br /></div>
<div>------ Originalnachricht ------</div>
<div>Von: "Ivan Labáth" <labawi-wg@matrix-dream.net></div>
<div>An: "Hendrik Friedel" <hendrik@friedels.name></div>
<div>Cc: "Vasili Pupkin" <diggest@gmail.com>; wireguard@lists.zx2c4.com</div>
<div>Gesendet: 26.08.2019 20:02:44</div>
<div>Betreff: Re: Keep-alive does not keep the connection alive</div><div><br /></div>
<div id="x5ecd9e8c2fd143e"><blockquote type="cite" class="cite2">

<div class="plain_line">Hello,</div>
<div class="plain_line"> </div>
<div class="plain_line">I notice you are using dynamic ips for server.</div>
<div class="plain_line">On the client, is the server peer ip correct?</div>
<div class="plain_line"> </div>
<div class="plain_line">Regards,</div>
<div class="plain_line">Ivan</div>
<div class="plain_line"> </div>
<div class="plain_line">On Sun, Aug 25, 2019 at 06:44:53PM +0000, Hendrik Friedel wrote:</div>
<blockquote type="cite" class="cite">
<div class="plain_line"> Hello,</div>
<div class="plain_line"> </div>
<div class="plain_line"> thanks for your reply.</div>
<div class="plain_line"> It is linux (Kernel 5.x) in both cases.</div>
<div class="plain_line"> </div>
<div class="plain_line"> Regards,</div>
<div class="plain_line"> Hendrik</div>
<div class="plain_line"> </div>
<div class="plain_line"> ------ Originalnachricht ------</div>
<div class="plain_line"> Von: "Vasili Pupkin" <diggest@gmail.com></div>
<div class="plain_line"> An: "Hendrik Friedel" <hendrik@friedels.name></div>
<div class="plain_line"> Cc: wireguard@lists.zx2c4.com</div>
<div class="plain_line"> Gesendet: 25.08.2019 17:59:59</div>
<div class="plain_line"> Betreff: Re: Keep-alive does not keep the connection alive</div>
<div class="plain_line"> </div>
<div class="plain_line"> >What OS is running on client side? I have this issue on Win7 client,</div>
<div class="plain_line"> >can explain it further, it has nothing to do with keepalives though,</div>
<div class="plain_line"> >it is a bug in tun adapter implementation</div>
<div class="plain_line"> ></div>
<div class="plain_line"> >On Sun, Aug 25, 2019 at 6:38 PM Hendrik Friedel <hendrik@friedels.name> wrote:</div>
<div class="plain_line"> >>  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.</div>
<div class="plain_line"> >>  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.</div>
<div class="plain_line"> >>  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.</div>
<div class="plain_line"> >></div>
<div class="plain_line"> >>  Only after a wg-quick down and up all is fine again.</div>
<div class="plain_line"> >></div>
<div class="plain_line"> >>  Below some more information.</div>
<div class="plain_line"> >></div>
<div class="plain_line"> >>  Can you help me to find, what I am doing wrong?</div>
<div class="plain_line"> </div>
<div class="plain_line"> _______________________________________________</div>
<div class="plain_line"> WireGuard mailing list</div>
<div class="plain_line"> WireGuard@lists.zx2c4.com</div>
<div class="plain_line"> https://lists.zx2c4.com/mailman/listinfo/wireguard</div>
</blockquote>
</blockquote></div>
</body></html>