netchx / netch

A simple proxy client
GNU General Public License v3.0
16.29k stars 2.7k forks source link

Wireguard failure with NAT :noUDP in 1.9.6 #845

Closed ham1255 closed 1 year ago

ham1255 commented 2 years ago

Describe the bug

As this first update to implement Wireguard protocol its seems that there is no connection being sent over the protocol but the connection is stablished, as running wg command on the server indicates that connection is stablished:

interface: wg0
  public key: redacted
  private key: (hidden)
  listening port: 4242

peer: redacted
  preshared key: (hidden)
  endpoint: <redacted>
  allowed ips: <redacted>
  latest handshake: 2 seconds ago
  transfer: 35.84 KiB received, 115.16 KiB sent

so when using any mode provided by default + custom one i made, all of them refuses to connect + Nat: noUDP is showning down blow image

To Reproduce

  1. open netch
  2. add wireguard server
  3. start an connection any mode. (i used process mode)

Log

[2022-06-12 05:00:52][Information] Netch Version: NetchX/Netch@1.9.6
[2022-06-12 05:00:52][Information] OS: Microsoft Windows NT 10.0.19044.0
[2022-06-12 05:00:52][Information] SHA256: 1a92f3ec4192a1653b96f3a765e8b60d1d9fc6db355b5d2129a71c42c3497a2b
[2022-06-12 05:00:52][Information] System Language: en-US
[2022-06-12 05:00:52][Debug] Running Processes:
C:\Program Files (x86)\Common Files\Steam\steamservice.exe
C:\Program Files (x86)\Epic Games\Launcher\Engine\Binaries\Win64\EpicWebHelper.exe
C:\Program Files (x86)\Epic Games\Launcher\Portal\Binaries\Win64\EpicGamesLauncher.exe
C:\Program Files (x86)\Google\Update\1.3.36.132\GoogleCrashHandler.exe
C:\Program Files (x86)\Google\Update\1.3.36.132\GoogleCrashHandler64.exe
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
C:\Users\mohammed\AppData\Local\Microsoft\OneDrive\OneDrive.exe
C:\Users\mohammed\Desktop\Netch\Netch.exe
[2022-06-12 05:00:52][Debug] Third-party Drivers:
CimFS [CimFS]()
        C:\Windows\system32\drivers\CimFS.sys
NDIS Miniport Driver for Killer PCI-E Gigabit Ethernet Controller [NDIS Miniport Driver for Killer PCI-E Gigabit Ethernet Controller](2015 Rivet Networks, LLC. All Rights Reserved.)
        C:\Windows\system32\drivers\e2xw10x64.sys
Nahimic mirroring device - Driver [Nahimic mirroring device - Driver](Copyright 2019 (C) A-Volute2019)
        C:\Windows\system32\drivers\Nahimic_Mirroring.sys
vgk [vgk]()
        \??\C:\Program Files\Riot Vanguard\vgk.sys
MpKsl70bf2140 [MpKsl70bf2140]()
        \??\C:\ProgramData\Microsoft\Windows Defender\Definition Updates\{F597AC34-4636-41D9-81C7-70BBA5FB2331}\MpKslDrv.sys
netfilter2 [netfilter2](Copyright c NetFilterSDK.com)
        C:\Windows\system32\drivers\netfilter2.sys
[2022-06-12 05:00:53][Information] Github latest release: 1.9.6
[2022-06-12 05:00:53][Information] Already the latest version
[2022-06-12 05:01:05][Information] Start MainController: WireGuard [0]discord
[2022-06-12 05:01:05][Debug] Server Information: WireGuard 192.168.10.2 + 1420
[2022-06-12 05:01:05][Information] Built-in  netfilter2 driver version: 1.6.3.0
[2022-06-12 05:01:05][Information] Installed netfilter2 driver version: 1.6.3.0
[Redirector][EventHandler][udpCreated][2][2636][!checkHandleName] Unknown
[Redirector][EventHandler][udpCreated][5][0][!checkHandleName] Idle
[2022-06-12 05:01:05][Information] Net traffic processes: (5352)v2ray-sn
[Redirector][EventHandler][udpCreated][10][2636][!checkHandleName] Unknown
[Redirector][EventHandler][udpCreated][16][1044][!checkHandleName] Unknown
[Redirector][EventHandler][udpCreated][24][1044][!checkHandleName] Unknown
[Redirector][EventHandler][udpCreated][38][8732][!checkHandleName] Unknown
[Redirector][EventHandler][udpCreated][42][8732][!checkHandleName] Unknown

Environment

- WINDOWS 10 PRO 21H2 19044.1741
- NETCH 1.9.6

Additional information

i made sure that all wireguard details are correct keys and stuff and also seems to be releated to that no udp issue #836

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 30 days with no activity.

ham1255 commented 2 years ago

Ok, remove the stale?

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 30 days with no activity.

ham1255 commented 2 years ago

Unstale

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.

Fkst5in commented 1 year ago

same on netch-1.97

leslie555 commented 1 year ago

@Fkst5in You can switch a server point and try it again.

Kaestheticz commented 1 year ago

Hey I'm having the same problem. v2ray works fine, but netch keeps showing the "NoUDP" error. I would be glad if you could help me with this.

WDong1995 commented 9 months ago

嘿 我也有同样的问题。 v2ray 工作正常,但 netch 一直显示“NoUDP”错误。 如果你能帮我解决这个问题,我会很高兴。

你解决了这个问题吗