Hi JP, On Wed, Aug 24, 2022 at 11:42:06PM +0800, JP Del Mundo wrote: > When I use Debian with wireguard as peer, bandwidth is throttled. However, > things are fine when I installed Ubuntu on the same hardware and set it up > with wireguard as peer. I was expecting the Debian install with the > wireguard tunnel to work the same as with Ubuntu since they're both using > the same hardware, apparently the same nic driver versions (see below).
To support your hypothesis that the Debian build of linux is somehow at fault here I would suggest setting up a local testbed with two wg peers on the same machine. ip-netns(1) will be useful here. If that shows the same degraded performance over the tunnel we can surmise the problem most likely lies with the wireguard driver itself and not the NIC driver or even some external networking issue. Also: consider using iperf for bandwith testing which should be easier than http in this case. Let me know if you need help setting up a local test environment, --Daniel

