Replies: 4 comments
-
内网 ping 域名得到一个内网ip |
Beta Was this translation helpful? Give feedback.
-
看xray的log解析到的是内网ip也正常打开了页面,singbox是到了外网ip 盲猜是dns设置里的singbox规则和v2ray规则不同,明天再学习学习 |
Beta Was this translation helpful? Give feedback.
-
记录下 刚在singbox加了个dns设置 local(第一个,看文档是没有final字段的情况下优先取第一个)。已经完全可以使用了。 本地ipconfig /all 可以看到使用的是内网的一个dns服务器地址。看网络设置也是自动获取dns服务器地址,如果改成手动223.5.5.5也是会和前面描述的一样。 但好烦改配置啊,毕竟xray-core不用,我研究研究再,看看怎么能像xray-core一样丝滑 |
Beta Was this translation helpful? Give feedback.
-
怎么设置的 我的也是singbox内核 上网就感觉慢 |
Beta Was this translation helpful? Give feedback.
-
公司内网无代理可以访问到目标域名test.com(公司内部服务器)
选择模式:自动配置系统代理
xray core节点(vless):内外网都访问正常(公司内外和国内外)
singbox core节点(hysteria2):访问目标域名打不开(下有部分log,看着解析到ip,rule-set好像也识别的是direct)页面展示ERR_CONNECTION_CLOSED
而且这个hysteria2节点访问国内网站也是很慢,用的是默认的路由规则V2绕过大陆(是路由规则慢的问题么,看log好像分流是正常的有些查ip的走了直连有些走了代理)
并且如果vless也手动切换成sing-box core也会和上边一样表现
选择pac模式则均正常
附sing-box core的部分log如下:
+0800 2024-05-14 17:13:20 INFO [1890587422 6ms] dns: lookup succeed for 目标域名.com: 目标ip
+0800 2024-05-14 17:13:20 DEBUG [1890587422 6ms] router: match[4] ip_is_private=true rule_set=geoip-cn => direct
+0800 2024-05-14 17:13:20 DEBUG [594178924 5ms] router: match[4] ip_is_private=true rule_set=geoip-cn => direct
+0800 2024-05-14 17:13:22 ERROR [1890587422 2.6s] inbound/http[http]: process connection from 127.0.0.1:63871: dial tcp 目标ip:443: connectex: No connection could be made because the target machine actively refused it.
+0800 2024-05-14 17:13:22 ERROR [594178924 2.6s] inbound/http[http]: process connection from 127.0.0.1:52777: dial tcp 目标ip:443: connectex: No connection could be made because the target machine actively refused it.
Beta Was this translation helpful? Give feedback.
All reactions