gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.51k stars 552 forks source link

[Bug]: Failed to update network status #2610

Open levouh opened 1 year ago

levouh commented 1 year ago

Contact Details

No response

What happened?

Issue

When trying to connect via the Windows 11 client, the following error always occurs (different variations of this error occur, e.g. when trying to get local host configuration as well, but it all fails when trying to access loop back like this):

image

Note that this is with Windows Firewall completely disabled. This results in the client showing as not connected in the Windows app:

image

From the dashboard (not self hosted), the host does show as healthy/connected despite this:

image

The Windows Netclient is running as an administrator.

Setup

A free tier setup, with a network using the CGNAT range (100.99.98.0/24). I have one client (100.99.98.1) installed in a LXC on my local network, and am using another Windows PC also on my local network to test some stuff out. From the LXC, wg show acknowledges that the peer has at least been pushed to it:

interface: netmaker
  public key: (hidden)
  private key: (hidden)
  listening port: 51821

peer: (hidden)
  endpoint: (hidden):27462
  allowed ips: 100.99.98.2/32
  transfer: 0 B received, 264.49 KiB sent
  persistent keepalive: every 20 seconds

A connection between the two does not work either (e.g. from 100.99.98.1 I cannot ping 100.99.98.2).

Version information

Windows

Edition Windows 11 Pro N
Version 22H2
Installed on    ‎3/‎31/‎2023
OS build    22621.2283
Experience  Windows Feature Experience Pack 1000.22662.1000.0

Windows Netclient 0.20.0

LXC Ubuntu 22.04 LTS

LXC Netclient 0.21.0

Version

v0.21.0

What OS are you using?

Linux, Windows

Relevant log output

No response

Contributing guidelines

kiw3 commented 1 year ago

I hit the problem too. Poor experience.