amnezia-vpn / amnezia-client

Amnezia VPN Client (Desktop+Mobile)
https://amnezia.org
GNU General Public License v3.0
2k stars 200 forks source link

Failed to send junk packets #873

Closed Telonko closed 4 days ago

Telonko commented 4 days ago

amneziawg-go Version: 0.2.11

I'm getting these errors. Is it cause of DPI or some misconfiguration?

### Server log
DEBUG: (wg0) 2024/06/30 17:25:08 peer(STEc…lki0) - Sending handshake initiation
ERROR: (wg0) 2024/06/30 17:25:08 peer(STEc…lki0) - Failed to send junk packets: no known endpoint for peer

Server config

ruser@server:~# awg
interface: wg0
  listening port: 51820
  jc: 7
  jmin: 50
  jmax: 1000
  s1: 68
  s2: 149
  h1: 1106457265
  h2: 249455488
  h3: 1209847463
  h4: 1646644382
...

Client config

root@OpenWrt:~# awg
interface: WireGuard
  listening port: 41468
  jc: 7
  jmin: 50
  jmax: 1000
  s1: 68
  s2: 149
  h1: 1106457265
  h2: 249455488
  h3: 1209847463
  h4: 1646644382
...
Telonko commented 4 days ago

it's caused by multiple AllowedIps to the client peer