From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Jason@zx2c4.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 83f7525e for ; Thu, 4 Jan 2018 23:36:03 +0000 (UTC) Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 30dc6f00 for ; Thu, 4 Jan 2018 23:36:03 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 1b84af98 for ; Thu, 4 Jan 2018 23:27:09 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 0b03d6ad (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Thu, 4 Jan 2018 23:27:08 +0000 (UTC) Received: by mail-ot0-f179.google.com with SMTP id q39so2665101otb.8 for ; Thu, 04 Jan 2018 15:37:45 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: "Jason A. Donenfeld" Date: Fri, 5 Jan 2018 00:37:44 +0100 Message-ID: Subject: Re: Question about Wireguard server To: Stoyan Mihov Content-Type: multipart/alternative; boundary="94eb2c045e269b19800561fbd12e" Cc: WireGuard mailing list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --94eb2c045e269b19800561fbd12e Content-Type: text/plain; charset="UTF-8" Hi Stoyan, Ensure that the time is set correctly on your lede box after reboots. If the time rolls backwards, handshakes will be rejected rightfully by the server. Jason -- Sent from my telephone. On Jan 4, 2018 22:51, "Stoyan Mihov" wrote: > Greetings dear wireguards! > > First of all - happy 2018! > > I have a quick question: > > I am running wireguard on ubuntu 16.04 server and LEDE on router. When I > have everything set up on the router - I decided to upgrade to a newer > version of LEDE. So I did, and then my router would not connect to the > server anymore (although settings have been saved) until I issue a command > on the server: > wg-quick down wg0 && wg-quick up wg0 > > Then the router automatically connects without an issue. Before that - the > server would not accept a connection from the router, there are no dmesg > errors, no errors whatsoever on both sides. It simply doesn't show a > handshake on the server, and the router sends packets, but receives 0 > packets. > > Is there an easier way to fix that issue, so a restart on the server would > not be necessary every time an upgrade on the router is made? Or am I > missing something obvious (quite possible lol) that resolves that issue? > > Thank you so much! > Tony. > > _______________________________________________ > WireGuard mailing list > WireGuard@lists.zx2c4.com > https://lists.zx2c4.com/mailman/listinfo/wireguard > > --94eb2c045e269b19800561fbd12e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Stoyan,

E= nsure that the time is set correctly on your lede box after reboots. If the= time rolls backwards, handshakes will be rejected rightfully by the server= .

Jason

--
Sent from my telephone.

On Jan 4, 2018 22:51, "Stoyan Mihov" <t0ny0@atlantabg.com> wrote:
Greetings dear wireguard= s!

First of all - happy 2018!<= /div>

I have a quick question:=

I am running wireguard = on ubuntu 16.04 server and LEDE on router. When I have everything set up on= the router - I decided to upgrade to a newer version of LEDE. So I did, an= d then my router would not connect to the server anymore (although settings= have been saved) until I issue a command on the server:
wg-quick down wg0 && wg-quick up wg0
Then the router automatically connects without an= issue. Before that - the server would not accept a connection from the rou= ter, there are no dmesg errors, no errors whatsoever on both sides. It simp= ly doesn't show a handshake on the server, and the router sends packets= , but receives 0 packets.

Is there an easier way to fix that issue, so a restart on the server woul= d not be necessary every time an upgrade on the router is made? Or am I mis= sing something obvious (quite possible lol) that resolves that issue?
=

Thank you so much!
Tony.

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com<= br> https://lists.zx2c4.com/mailman/listinfo/wire= guard

--94eb2c045e269b19800561fbd12e--