<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
As a workaround you could<br>
- unconditionally periodically update the endpoint<br>
- monitor last handshake time, when large update endpoint or restart<br>
tunnel<br>
- add keepalive to server - it might reduce your downtime<br></blockquote><div><br></div>Keepalive does not seem to work in my experience. <br></div><div class="gmail_quote">On Linux i set up a recurrent script that tests connection to the wg tunnel gateway and restarts the connection if the connection test fails.</div><div class="gmail_quote">But on Android this is not possible without additional tools running in background that will use battery and negate wireguard's benefits.<br></div><div class="gmail_quote"><br></div></div>