Replies: 1 comment
-
https://paste.ubuntu.com/p/96Ktz6ycWp/ 在TG群里搜到聊天记录,感谢这个网友的配置,已经明白了。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
xray客户端配置文件
我复制上面的内容到VPS的xray/config.json里。用SSH连接VPS,使用xray -test -config /usr/local/etc/xray/config.json命令测试
[Warning] infra/conf: Defined Fake DNS but haven't enabled fake dns sniffing at any inbound.
但是在PC客户端使用这个配置文件,能正常打开网页。看日志也有**DoH accepted https://1.1.1.1/dns-query [local]**的DNS查询
我搜到 https://xtls.github.io/config/base/fakedns/
另外,你需要在入站中开启 Sniffing ,并使用 fakedns 目标地址重置。
如果 FakeIP 没有被正确的还原为域名,将无法连接到服务器。
请问这个配置文件在客户端上用还有需要修改的地方吗?
Beta Was this translation helpful? Give feedback.
All reactions