LorenEteval / Furious

A GUI proxy client based on PySide6. Support Xray-core & hysteria
GNU General Public License v3.0
968 stars 86 forks source link

Failed to connect to network in Windows 10 system #24

Closed zhouxinghong closed 1 year ago

zhouxinghong commented 1 year ago

Failed to connect to network in Windows 10 system

Hello! In Windows 10 system, when you turn on VPN mode, you always fail to connect to the network! Furious: 0.2.10

zhouxinghong commented 1 year ago
[2023-10-19 19:00:55,352] [Furious.Core.Core] [INFO] Tun2socks 2.5.1.2 started
[2023-10-19 19:00:57,446] [Furious.Utility.RoutingTable] [INFO] add rule 13.215.602.605->192.168.12.189 to routing table success
[2023-10-19 19:00:57,667] [Furious.Utility.RoutingTable] [ERROR] set device 'Furious' gateway address '10.0.68.1' failed
[2023-10-19 19:00:57,681] [Furious.Core.Core] [ERROR] Tun2socks stopped unexpectedly with exitcode 1
LorenEteval commented 1 year ago

Check out TUN mode wiki.

zhouxinghong commented 1 year ago

Your program design is great! Thank you very much! 👍👏

zhouxinghong commented 1 year ago

[2023-10-19 20:55:19,250] [Furious.Utility.RoutingTable] [ERROR] set device 'Furious' gateway address '10.0.68.1' failed

After installing wintun.dll in C:\Windows\System32. as you provided, I still cannot connect to the network through VPN mode.

zhouxinghong commented 1 year ago

[2023-10-19 21:04:43,834] [Furious.Utility.RoutingTable] [ERROR] set device 'Furious' gateway address '10.0.68.1' failed [2023-10-19 21:04:43,934] [Furious.Utility.Proxy] [INFO] set proxy server 127.0.0.1:10809 success

LorenEteval commented 1 year ago

[2023-10-19 20:55:19,250] [Furious.Utility.RoutingTable] [ERROR] set device 'Furious' gateway address '10.0.68.1' failed

After installing wintun.dll in C:\Windows\System32. as you provided, I still cannot connect to the network through VPN mode.

Try restart the application. If that does not work, try restart your PC and try again.

zhouxinghong commented 1 year ago

OK, thank you very much for your help! I'll try restarting the PC later

zhouxinghong commented 1 year ago

The VPN mode is unstable. Yesterday I was able to connect to the Internet in VPN mode after restarting my PC. However, today I used VPN mode to connect to the Internet again and found that the connection failed again. . . [2023-10-19 21:32:24,094] [Furious.Utility.RoutingTable] [INFO] set device 'Furious' gateway address '10.0.68.1' success [2023-10-20 06:25:30,067] [Furious.Utility.RoutingTable] [ERROR] set device 'Furious' gateway address '10.0.68.1' failed

zhouxinghong commented 1 year ago

[2023-10-20 08:26:02,958] [Furious.Utility.RoutingTable] [ERROR] set device 'Furious' gateway address '10.0.68.1' failed

Restarting the system can set up successfully. Is there any conflict with other programs on the system? Due to this error, VPN mode fails to connect to the network.

zhouxinghong commented 1 year ago

The service node cannot be successfully switched in VPN mode, otherwise the network connection in VPN mode fails. . .

Re steps:

  1. Restart your computer;

  2. Turn on the VPN mode connection and successfully access google.com; [Furious.Utility.RoutingTable] [INFO] set device 'Furious' gateway address '10.0.68.1' success

  3. Switch service nodes, for example, from Germany to Singapore;

  4. Failed to enable VPN mode, the following information is output: [Furious.Utility.RoutingTable] [ERROR] set device 'Furious' gateway address '10.0.68.1' failed

zhouxinghong commented 1 year ago

Since the VPN mode fails to connect to the network, many applications cannot connect to the network.

zhouxinghong commented 1 year ago

After a period of time, if you switch the service node, you will still be unable to successfully connect to the network in VPN mode. . . [Furious.Utility.RoutingTable] [ERROR] set device 'Furious' gateway address '10.0.68.1' failed

LorenEteval commented 1 year ago

After a period of time, if you switch the service node, you will still be unable to successfully connect to the network in VPN mode. . . [Furious.Utility.RoutingTable] [ERROR] set device 'Furious' gateway address '10.0.68.1' failed

Hi. If Furious cannot set 10.0.68.1 as its own TUN gateway address then yes the VPN mode cannot work properly. Please make sure that no other application is using 10.0.68.1 as gateway address.

Also I just uploaded a new release file Furious-0.2.11-windows-x86_64-prerelease0.zip that contains improved error messages for routing table operations. Please try using it in VPN mode and see what possible error messages that Furious gives. Feel free to paste them out here.

zhouxinghong commented 1 year ago

OK! Thank you so much! 👍😜 It should be noted that the TUN mode of Clash for Windows runs very stably on my machine, and its implementation principle should be similar to Furious. You can take a look at it.

zhouxinghong commented 1 year ago

could not find it Furious-0.2.11-windows-x86_64-prerelease0.zip

LorenEteval commented 1 year ago

could not find it Furious-0.2.11-windows-x86_64-prerelease0.zip

image

zhouxinghong commented 1 year ago

Feel sorry! I didn’t see it just now😂

zhouxinghong commented 1 year ago

After turning on VPN mode and connecting to the network for a period of time and then switching service nodes again, the following message will appear:

] [INFO] add rule tjcu-l6ftl9.zzcloud.top.->192.168.xx.xxx to routing table success. Returncode: 0. Stdout: . Stderr: 路由添加失败: 参数错误。
[2023-10-20 18:19:32,575] [Furious.Utility.RoutingTable] [INFO] add rule 123.158.xxx.xxx->192.168.xx.xxx to routing table success. Returncode: 0. Stdout: 操作完成!. Stderr: 
[2023-10-20 18:19:32,982] [Furious.Utility.RoutingTable] [ERROR] set device 'Furious' gateway address '10.0.68.1' failed. Returncode: 1. Stdout: 找不到元素。. Stderr: 
[2023-10-20 18:19:33,086] [Furious.Utility.Proxy] [INFO] set proxy server 127.0.0.1:10809 success

image

Failed to connect to the network when turning on VPN mode! environment: Furious-0.2.11-windows-x86_64-prerelease0 Windows 10 19044 x64

LorenEteval commented 1 year ago

After turning on VPN mode and connecting to the network for a period of time and then switching service nodes again, the following message will appear:

] [INFO] add rule tjcu-l6ftl9.zzcloud.top.->192.168.xx.xxx to routing table success. Returncode: 0. Stdout: . Stderr: 路由添加失败: 参数错误。
[2023-10-20 18:19:32,575] [Furious.Utility.RoutingTable] [INFO] add rule 123.158.xxx.xxx->192.168.xx.xxx to routing table success. Returncode: 0. Stdout: 操作完成!. Stderr: 
[2023-10-20 18:19:32,982] [Furious.Utility.RoutingTable] [ERROR] set device 'Furious' gateway address '10.0.68.1' failed. Returncode: 1. Stdout: 找不到元素。. Stderr: 
[2023-10-20 18:19:33,086] [Furious.Utility.Proxy] [INFO] set proxy server 127.0.0.1:10809 success

image

Failed to connect to the network when turning on VPN mode! environment: Furious-0.2.11-windows-x86_64-prerelease0 Windows 10 19044 x64

Thank you for your reply. Discovered:

I'll add another prerelease tomorrow focusing on these two issues, if you are kind enough to test it. Thank you.

zhouxinghong commented 1 year ago

OK! no problem.

Second case:

When the computer wakes up from sleep, running Furious to enable VPN mode will also output the following error message: image

[INFO] add rule hkcu.relay-idc.top.->192.168.xx.xxx to routing table success. Returncode: 0. Stdout: . Stderr: 路由添加失败: 参数错误。
 [INFO] add rule apyd1.xn--nmq78hhd72yv8gyw4g.com.->192.168.xx.xxx to routing table success. Returncode: 0. Stdout: . Stderr: 路由添加失败: 参数错误。
 [INFO] add rule 36.133.xxx.xxx->192.168.xx.xxx to routing table success. Returncode: 0. Stdout: 操作完成!. Stderr: 
 [ERROR] set device 'Furious' gateway address '10.0.68.1' failed. Returncode: 1. Stdout: 找不到元素。. Stderr: 
 [INFO] set proxy server 127.0.0.1:10809 success
 [INFO] action is 'Show Log...'. Checked is False

Once again, VPN mode failed to connect to the network!

LorenEteval commented 1 year ago

OK! no problem.

Second case:

When the computer wakes up from sleep, running Furious to enable VPN mode will also output the following error message: image

[INFO] add rule hkcu.relay-idc.top.->192.168.xx.xxx to routing table success. Returncode: 0. Stdout: . Stderr: 路由添加失败: 参数错误。
 [INFO] add rule apyd1.xn--nmq78hhd72yv8gyw4g.com.->192.168.xx.xxx to routing table success. Returncode: 0. Stdout: . Stderr: 路由添加失败: 参数错误。
 [INFO] add rule 36.133.xxx.xxx->192.168.xx.xxx to routing table success. Returncode: 0. Stdout: 操作完成!. Stderr: 
 [ERROR] set device 'Furious' gateway address '10.0.68.1' failed. Returncode: 1. Stdout: 找不到元素。. Stderr: 
 [INFO] set proxy server 127.0.0.1:10809 success
 [INFO] action is 'Show Log...'. Checked is False

Once again, VPN mode failed to connect to the network!

Added Furious-0.2.11-windows-x86_64-prerelease1.zip in release page. Please check if the problem still exists.

zhouxinghong commented 1 year ago

OK! no problem.

Second case:

When the computer wakes up from sleep, running Furious to enable VPN mode will also output the following error message: image

[INFO] add rule hkcu.relay-idc.top.->192.168.xx.xxx to routing table success. Returncode: 0. Stdout: . Stderr: 路由添加失败: 参数错误。
 [INFO] add rule apyd1.xn--nmq78hhd72yv8gyw4g.com.->192.168.xx.xxx to routing table success. Returncode: 0. Stdout: . Stderr: 路由添加失败: 参数错误。
 [INFO] add rule 36.133.xxx.xxx->192.168.xx.xxx to routing table success. Returncode: 0. Stdout: 操作完成!. Stderr: 
 [ERROR] set device 'Furious' gateway address '10.0.68.1' failed. Returncode: 1. Stdout: 找不到元素。. Stderr: 
 [INFO] set proxy server 127.0.0.1:10809 success
 [INFO] action is 'Show Log...'. Checked is False

Once again, VPN mode failed to connect to the network!

Added Furious-0.2.11-windows-x86_64-prerelease1.zip in release page. Please check if the problem still exists.

OK! no problem.

LorenEteval commented 1 year ago

Solved and will come in official version 0.2.11.