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

[Bug] openclash 启用tun模式连接 #4314

Open
5 of 7 tasks
Powerstorm911 opened this issue Feb 6, 2025 · 1 comment
Open
5 of 7 tasks

[Bug] openclash 启用tun模式连接 #4314

Powerstorm911 opened this issue Feb 6, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Powerstorm911
Copy link

Verify Steps

  • Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • Branch 我知道 OpenClash 的 Dev 分支切换开关位于插件设置-版本更新中,或者我会手动下载并安装 Dev 分支的 OpenClash
  • Latest 我已经使用最新 Dev 版本测试过,问题依旧存在
  • Relevant 我知道 OpenClash 与 内核(Core)、控制面板(Dashboard)、在线订阅转换(Subconverter)等项目之间无直接关系,仅相互调用
  • Definite 这确实是 OpenClash 出现的问题
  • Contributors 我有能力协助 OpenClash 开发并解决此问题
  • Meaningless 我提交的是无意义的催促更新或修复请求

OpenClash Version

V0.46.064

Bug on Environment

Other, Lean

OpenWrt Version

OpenWrt R24.12.12-D (2024-12-24) / LuCI Master (git-24.338.41706-d6ee217)

Bug on Platform

Linux-amd64(x86-64)

Describe the Bug

openwrt安装了docker,并配置了本地的jellyfin和迅雷下载。 openclash 启用tun模式连接,不管是redir-host还是fake-ip模式均无法正常连接网络,包括国内网络。切换回兼容模式则一切正常,但PS5的nat2状态为未知

查阅日志为连接被拒绝状态,不清楚是如何造成的

To Reproduce

正常配置完毕clash后,运行模式从兼容切换到tun

OpenClash Log

2025-02-06 14:33:56 level=warning msg="[TCP] dial DIRECT (match GeoIP/cn) 172.17.0.2:56976 --> 183.209.103.17:23181 error: connect failed: dial tcp 183.209.103.17:23181: i/o timeout"
2025-02-06 14:33:56 level=warning msg="[TCP] dial DIRECT (match GeoIP/cn) 172.17.0.2:41628 --> 122.232.232.229:2888 error: connect failed: dial tcp 122.232.232.229:2888: connect: connection refused"

OpenClash Config

Expected Behavior

可以正常启用tun,支持启用docker后的udp转发

Additional Context

No response

@Powerstorm911 Powerstorm911 added the bug Something isn't working label Feb 6, 2025
@vernesong
Copy link
Owner

你给docker指定DNS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants