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] Fake-IP模式下,DDNS映射的地址无法访问 #3891

Closed
5 of 7 tasks
LucifielHack opened this issue May 18, 2024 · 8 comments
Closed
5 of 7 tasks

[Bug] Fake-IP模式下,DDNS映射的地址无法访问 #3891

LucifielHack opened this issue May 18, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@LucifielHack
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.011-beta

Bug on Environment

Official OpenWrt

OpenWrt Version

6.1.28

Bug on Platform

Linux-amd64(x86-64)

Describe the Bug

使用ddns将内网nas和openwrt以及ipsec映射到域名上(有公网ipv4)
然后使用openwrt的openclash插件,使用fake-ip 混合模式进行代理
接着在外网使用域名+端口访问nas,无法访问,连接ipsec也失败,samba连接nas的硬盘也失败
但是在内网中用域名却又可以访问

To Reproduce

OpenClash Log

OpenClash Config

No response

Expected Behavior

希望可以在该模式下(测试了我所需要的环境,只有这个模式最好用)正常在外网连接到nas

Additional Context

No response

@LucifielHack LucifielHack added the bug Something isn't working label May 18, 2024
@LucifielHack
Copy link
Author

有没有佬知道咋解决啊

@LuminaIgnis
Copy link

Fallback-Filter

@LucifielHack
Copy link
Author

Fallback-Filter

佬,又具体的语句吗

@LucifielHack
Copy link
Author

佬们,是同一域名下,映射的81端口的ikuai可以在外网访问,82端口的openwrt也可以在外网访问,就是5000端口的nas和ipsec访问不了

@lqbby
Copy link

lqbby commented May 22, 2024

方法一:切换到Redir-Host模式
方法二:插件设置-DNS设置-启用第二DNS里面把你的域名都填上

@blacktail1937
Copy link

某些端口可以访问,某些不能访问应该去看一下端口映射是不是成功了。

@lhlxx2010
Copy link

请问解决了吗?我也碰到这个问题,暂时无法解决。按楼上 @lqbby 大佬的第二条方法,也不生效。

@LucifielHack
Copy link
Author

请问解决了吗?我也碰到这个问题,暂时无法解决。按楼上 @lqbby 大佬的第二条方法,也不生效。

我找到个办法解决了一部分,在 插件设置 -> 黑白名单 -> 绕过核心的来源端口 中,把你要访问的内网和外网端口都加进去,就可以访问了,并且不影响代理

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

5 participants