Development discussion of WireGuard
 help / color / mirror / Atom feed
* Question about Wireguard server
       [not found]               ` <CAL-k0sTtBWdgV1LfiAF9jjU6T47sT=pYyJgJQej4UmFrA0_27Q@mail.gmail.com>
@ 2018-01-04 21:51                 ` Stoyan Mihov
  2018-01-04 23:37                   ` Jason A. Donenfeld
  2018-01-05 16:11                   ` Bruno Wolff III
  0 siblings, 2 replies; 3+ messages in thread
From: Stoyan Mihov @ 2018-01-04 21:51 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1: Type: text/plain, Size: 966 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1319 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Question about Wireguard server
  2018-01-04 21:51                 ` Question about Wireguard server Stoyan Mihov
@ 2018-01-04 23:37                   ` Jason A. Donenfeld
  2018-01-05 16:11                   ` Bruno Wolff III
  1 sibling, 0 replies; 3+ messages in thread
From: Jason A. Donenfeld @ 2018-01-04 23:37 UTC (permalink / raw)
  To: Stoyan Mihov; +Cc: WireGuard mailing list

[-- Attachment #1: Type: text/plain, Size: 1440 bytes --]

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" <t0ny0@atlantabg.com> 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
>
>

[-- Attachment #2: Type: text/html, Size: 2359 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Question about Wireguard server
  2018-01-04 21:51                 ` Question about Wireguard server Stoyan Mihov
  2018-01-04 23:37                   ` Jason A. Donenfeld
@ 2018-01-05 16:11                   ` Bruno Wolff III
  1 sibling, 0 replies; 3+ messages in thread
From: Bruno Wolff III @ 2018-01-05 16:11 UTC (permalink / raw)
  To: Stoyan Mihov; +Cc: wireguard

On Thu, Jan 04, 2018 at 16:51:19 -0500,
  Stoyan Mihov <t0ny0@atlantabg.com> wrote:
>Greetings dear wireguards!
>
>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?

Is there NAT involved? I saw similar behavior when a port got moved 
because of a source NAT conflict.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-05 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAL-k0sRpa8Z2sW=z3bCW5pqPyJMCc5i3BMcXHRmZxNoRijTOXQ@mail.gmail.com>
     [not found] ` <CAL-k0sRFgPetkH3n_p4H5cTSA-58bHGJ=mV+rs7tC4kWeqgmiA@mail.gmail.com>
     [not found]   ` <CAL-k0sQk=kbFep0xZ-9_xzUqvgGGqa3Y6=nEe=1kWq98Ek9f6w@mail.gmail.com>
     [not found]     ` <CAL-k0sST3nZnOPAFYtthv4CFJjpoFDvzpxYDwvP1vt_t4bO+kQ@mail.gmail.com>
     [not found]       ` <CAL-k0sTi-g0w4cHw+9K5hqYooupPJVf_bb_tQ3jR-hW=tqmfKA@mail.gmail.com>
     [not found]         ` <CAL-k0sShn5t8K4TCgnWgKp74Lf6ASgrA_SDdAEjdL9Vc-J3e4Q@mail.gmail.com>
     [not found]           ` <CAL-k0sTux_e2CrQG0Pm2cdk4VxdxW9m+BALQ=Ccw34KH-6D25g@mail.gmail.com>
     [not found]             ` <CAL-k0sRUR1DKJK4df1YHvs+3LSJ+qQVUrBgC5-tg2eSjN_wrtw@mail.gmail.com>
     [not found]               ` <CAL-k0sTtBWdgV1LfiAF9jjU6T47sT=pYyJgJQej4UmFrA0_27Q@mail.gmail.com>
2018-01-04 21:51                 ` Question about Wireguard server Stoyan Mihov
2018-01-04 23:37                   ` Jason A. Donenfeld
2018-01-05 16:11                   ` Bruno Wolff III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).