[FS#3653] wireguard is not working - not sending any packets

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Mon Mar 1 03:19:03 EST 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Lukasz Piatkowski (piontec) 

Attached to Project - OpenWrt/LEDE Project
Summary - wireguard is not working - not sending any packets
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - I'm using 19.07.7 r11306-c4a6851c72 build on xiaomi mi router 4a gigabit, built by [[https://gitlab.com/db260179/xiaomi-m4a/-/releases|David Betham]] (it doesn't affect wireguard, I think).

The problem I'm having is that wireguard is completely not working: although the tunnel is configured, it never sends any traffic to the destination peer.

My wg config:

# wg show
interface: wg0
  public key: Kus59Dar/4ki3/IWM7UVn5uFFco79btQgH9CKCDERF8=
  private key: (hidden)
  listening port: 31833

peer: qEgo8fA/w9pXtBoQnB5/U/jNn30AFxloPV/owjxKj0A=
  endpoint: 185.X.Y.Z:1195
  allowed ips: 10.10.10.0/24
  persistent keepalive: every 15 seconds


Now, I start 

tcpdump -i any -f "udp and port 1195"


and ping the remote end tunnel, but not a single ping is returned nor I see a single packet captured by tcpdump. The same config and device were working on some unofficial 17.07.4 build I was using previously.

Kernel used:

# uname -a
Linux coffee 4.14.221 #0 SMP Mon Feb 15 15:22:37 2021 mips GNU/Linux


My software versions are:   

kmod-udptunnel4 - 4.14.221-1
kmod-udptunnel6 - 4.14.221-1
kmod-wireguard - 4.14.221+1.0.20200611-2
luci-app-wireguard - git-21.054.03371-3b137b5-1
luci-proto-wireguard - git-21.054.03371-3b137b5-1
wireguard - 1.0.20200611-2
wireguard-tools - 1.0.20191226-1


Please let me know how can I help investigate it further.
 

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3653

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list