Skip to contentSkip to conversation

Wireguard massive amount data

DISCUSSION Daniel Dumke 3 participants 3 messages Sep 23, 2021 – Sep 24, 2021

lore
Share & tools
lore
#0 lore raw

Hi,

I am trying to connect to a Mullvad Wireguard Host with my Fedora Linux using nmcli, as soon as I up the connection (nmcli con up Mullvad) massive amounts of data are sent through the tunnel (according to wg 1.4 GiB in the first 20 secs).

Any hints on why this huge amount of data is transfered?

Daniel

'''

root@lenovo# wg
interface: wg1
 public key: zr0q0pxcOfSoiKWjXEfuHqM58GMjE4HBLr8FzQIHYxM=
 private key: (hidden)
 listening port: 40360
 fwmark: 0xcbdf

peer: C2TUHPoZlT08iceLM2coBDTbcfg9tTKrUt7tRBWP0nk=
endpoint: 45.8.223.195:51820
allowed ips: 0.0.0.0/0, ::/0
latest handshake: 20 seconds ago
transfer: 4.23 KiB received, 1.39 GiB sent persistent keepalive: every 33 seconds

root@lenovo# route
Kernel IP Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
default         _gateway        0.0.0.0         UG    50     0        0 wg1
default         _gateway        0.0.0.0         UG    600    0        0 wlp0s12f0
_gateway        0.0.0.0         255.255.255.255 UH    20050  0        0 wg1
10.0.2.0        0.0.0.0         255.255.255.0   U     600    0        0 wlp0s12f0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0

'''

#1 lore raw

Sounds likely to be a routing loop? I'm not sure whether NM sets up policy routing to avoid this like wg-quick(8) does. I would hope they do, but it might also be rather lazy and not. Worth looking into, I suppose. In the interim, wg-quick will probably do the right thing.

#2 lore raw
In reply to Daniel Dumke

This is sending telemetry to Fedora.

Sep 23, 2021, 13:47 by [email protected]:

Quoted 36 lines

Hi,

I am trying to connect to a Mullvad Wireguard Host with my Fedora Linux using nmcli, as soon as I up the connection (nmcli con up Mullvad) massive amounts of data are sent through the tunnel (according to wg 1.4 GiB in the first 20 secs).

Any hints on why this huge amount of data is transfered?

Daniel

'''

root@lenovo# wg
interface: wg1
 public key: zr0q0pxcOfSoiKWjXEfuHqM58GMjE4HBLr8FzQIHYxM=
 private key: (hidden)
 listening port: 40360
 fwmark: 0xcbdf

peer: C2TUHPoZlT08iceLM2coBDTbcfg9tTKrUt7tRBWP0nk=
endpoint: 45.8.223.195:51820
allowed ips: 0.0.0.0/0, ::/0
latest handshake: 20 seconds ago
transfer: 4.23 KiB received, 1.39 GiB sent persistent keepalive: every 33 seconds

root@lenovo# route
Kernel IP Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
default         _gateway        0.0.0.0         UG    50     0        0 wg1
default         _gateway        0.0.0.0         UG    600    0        0 wlp0s12f0
_gateway        0.0.0.0         255.255.255.255 UH    20050  0        0 wg1
10.0.2.0        0.0.0.0         255.255.255.0   U     600    0        0 wlp0s12f0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0

'''