MatsuriDayo / nekoray

Qt based cross-platform GUI proxy configuration manager (backend: sing-box)
https://matsuridayo.github.io/
GNU General Public License v3.0
11.21k stars 1.11k forks source link

直连似乎不生效,无法访问知乎B站等国内网站 #1245

Closed Morris-Lucifer closed 2 days ago

Morris-Lucifer commented 3 months ago

描述问题

不知道是不是校园网的安全设置,连接校园网使用NB4A和nekoray打开系统代理有时无法访问国内网站(设置简易路由直连也不行)但是可以用Google,GitHub等,关闭系统代理后就能正常访问国内网站比如知乎,b站。用流量+系统代理就可以全部访问,不过不清楚是否为直连。 (另外还发现就算hysteria核心路径填了但实际上对应位置没有程序也能用hys的节点,不知道为什么)

预期行为:正常访问国内网站 实际行为:Google浏览器显示无法访问此网站

如何复现

sing-box核心,默认出站设置bypass和proxy都试过,简易路由左下角添加domain:zhihu.com,预设是绕过局域网和大陆

日志

文档里没找到在哪导出完整日志。。

INFO[0945] [1446033557 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:62512 INFO[0945] [3521392938 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:62513 INFO[0945] [1446033557 0ms] inbound/mixed[mixed-in]: inbound connection to www.zhihu.com:443 INFO[0945] [3521392938 0ms] inbound/mixed[mixed-in]: inbound connection to static.zhihu.com:443 INFO[0945] [1446033557 1ms] outbound/direct[bypass]: outbound connection to www.zhihu.com:443 INFO[0945] [3521392938 0ms] outbound/direct[bypass]: outbound connection to static.zhihu.com:443 INFO[0945] outbound/direct[direct]: outbound packet connection to 172.20.5.12:53 INFO[718930] outbound/direct[direct]: outbound packet connection to 172.20.5.12:53 INFO[718930] outbound/direct[direct]: outbound packet connection to 172.20.5.12:53 INFO[0955] outbound/direct[direct]: outbound packet connection to 172.20.5.12:53 INFO[0955] [51396332 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:62532 INFO[0955] [51396332 0ms] inbound/mixed[mixed-in]: inbound connection to static.zhihu.com:443 INFO[0955] [1083569464 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:62533 INFO[0955] [1083569464 0ms] inbound/mixed[mixed-in]: inbound connection to www.zhihu.com:443 INFO[0955] [51396332 2ms] outbound/direct[bypass]: outbound connection to static.zhihu.com:443 INFO[0955] outbound/direct[direct]: outbound packet connection to 172.20.5.12:53 INFO[0955] [1083569464 0ms] outbound/direct[bypass]: outbound connection to www.zhihu.com:443

Morris-Lucifer commented 3 months ago

打开TUN模式暂时解决了无法同时访问国内国外的问题

loskyertt commented 1 month ago

默认出站流量改为pass,把需要代理的网站增加到代理域名或者ip