Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After the Clash tun mode is enabled, udp2raw cannot be connected even if the specified NIC is enabled #500

Closed
eromoe opened this issue Dec 4, 2023 · 5 comments

Comments

@eromoe
Copy link

eromoe commented Dec 4, 2023

在开启clash tun模式后,即使指定网卡开启udp2raw 也无法连接。
必须关闭clash tun模式,然后启动udp2raw 然后再启动 clash tun 模式

logs:

[2023-12-04 13:47:31][INFO]const_id:e19bff3d
[2023-12-04 13:47:31][INFO]--dev has been manually set, using device:[\Device\NPF_{F985FB1C-0EF6-4D9D-AB00-5D560AAA44B7}]
[2023-12-04 13:47:31][INFO]waiting for a use-able packet to be captured
[2023-12-04 13:47:33][INFO]waiting for a use-able packet to be captured
[2023-12-04 13:47:35][INFO]waiting for a use-able packet to be captured
[2023-12-04 13:47:36][INFO]waiting for a use-able packet to be captured
[2023-12-04 13:47:38][INFO]waiting for a use-able packet to be captured
[2023-12-04 13:47:39][INFO]new packet from 127.0.0.1:49269,conv_id=2e9ff3e0
[2023-12-04 13:47:39][INFO]waiting for a use-able packet to be captured
[2023-12-04 13:47:41][INFO]waiting for a use-able packet to be captured
[2023-12-04 13:47:43][INFO]waiting for a use-able packet to be captured
[2023-12-04 13:47:44][INFO]waiting for a use-able packet to be captured
[2023-12-04 13:47:46][INFO]waiting for a use-able packet to be captured
[2023-12-04 13:47:47][INFO]waiting for a use-able packet to be captured
[2023-12-04 13:47:49][INFO]waiting for a use-able packet to be captured
[2023-12-04 13:47:51][INFO]waiting for a use-able packet to be captured
[2023-12-04 13:47:52][INFO]waiting for a use-able packet to be captured
@wangyu-
Copy link
Owner

wangyu- commented Dec 4, 2023

the tun you created hijacked udp2raw's traffic.

you need to figure out how to add exceptions by youself.

@eromoe
Copy link
Author

eromoe commented Dec 7, 2023

I don't have much network knowledge, hard to firgure out....
Do you have any clue or guide ?

@wangyu-
Copy link
Owner

wangyu- commented Dec 19, 2023

I don't have an article closely related to Clash.

there is an article talked about how to let openvpn not hijack udpspeeder's traffic, when trying to use openvpn+udpspeeder together.

https://github.com/wangyu-/UDPspeeder/wiki/UDPspeeder-openvpn-config-guide

@su-kaka
Copy link

su-kaka commented Mar 11, 2024

使用tun网卡好像都是这样 不知道咋解决

@eromoe
Copy link
Author

eromoe commented Mar 15, 2024

开机启动写了个脚本,先启动udp2raw 等10秒再启动 clash。

@eromoe eromoe closed this as completed Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants