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

用了黑名单模式,但是还是不能登录outlook等微软网站 #1528

Closed
macarthor opened this issue Apr 16, 2021 · 9 comments
Closed

Comments

@macarthor
Copy link

虽然这可能是loyalsoldier那个repo的问题,但那个repo issue太冷清了,来v2rayn主站问问了

我用了loyalsoldier repo仓库readme.md里的黑名单模式,但还是无法登录公司的outlook/teams等软件。只影响windows上的使用,而安卓端用v2rayng就不会影响outlook/teams的使用。

这个问题已经困扰了我两个多礼拜了,遍寻方案无果。

求解,感谢!

我的配置如下,我感觉是正确的:

  • 代理我指定的网址
  • block广告
  • 代理geosite:tld-!cn/gfwlist/greatfire
  • 其余都直连

这个配置应该是标准的黑名单/PAC模式,但就是不能用outlook/teams。
而且按理说我不用加直连geosite:microsoft,而且实际上我加了也不管用。

{
  "remarks": "loyalsoldier-v2ray-rules-dat",
  "url": "",
  "rules": [
    {
      "type": "field",
      "port": null,
      "inboundTag": null,
      "outboundTag": "proxy",
      "ip": null,
      "domain": [
        "domain:flutter.dev",
        "cloud.ibm.com",
        "domain:dart.dev",
        "domain:github.com"
      ],
      "protocol": null
    },
    {
      "type": "field",
      "port": null,
      "inboundTag": null,
      "outboundTag": "block",
      "ip": null,
      "domain": [
        "geosite:category-ads-all"
      ],
      "protocol": null
    },
    {
      "type": "field",
      "port": null,
      "inboundTag": null,
      "outboundTag": "proxy",
      "ip": null,
      "domain": [
        "geosite:tld-!cn",
        "geosite:gfw",
        "geosite:greatfire"
      ],
      "protocol": null
    },
    {
      "type": "field",
      "port": null,
      "inboundTag": null,
      "outboundTag": "proxy",
      "ip": [
        "geoip:telegram"
      ],
      "domain": null,
      "protocol": null
    },
    {
      "type": "field",
      "port": "0-65535",
      "inboundTag": null,
      "outboundTag": "direct",
      "ip": null,
      "domain": null,
      "protocol": null
    }
  ],
  "enabled": true,
  "locked": false
}
@luoanni3
Copy link

是不是 #1505 一样的问题?

@macarthor
Copy link
Author

是不是 #1505 一样的问题?

感谢回复。不过我看了一下,貌似还不一样。我上边的路由策略,没开全局模式啊,只代理写了"outboundTag": "proxy"的内容

@macarthor
Copy link
Author

macarthor commented Apr 16, 2021

加了如下规则就可以了,并更新了两个dat文件。

但我还有问题:这与我设置的黑名单规则不符啊?很明显用我一开始的规则,会代理outlook/teams相关的网址,以至于这两个windows APP不能用。但我看了gfwlist/greatfire的文件,不包含outlook/teams的域名。

哪位大佬可以帮忙解释一下?

这样的json还是不行

{
  "type": null,
  "port": null,
  "inboundTag": null,
  "outboundTag": "direct",
  "ip": null,
  "domain": [
    "geosite:win-extra",
    "geosite:microsoft"
  ],
  "protocol": null
}

@macarthor
Copy link
Author

哪位大佬看看,为什么黑名单模式还是不能用这些软件

@jbxiaoyu
Copy link

有可能因为outlook桌面版也是UWP类型的应用(即无法使用系统代理),你可以试试cmd:

FOR /F "tokens=11 delims=" %p IN ('REG QUERY "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Mappings"') DO CheckNetIsolation.exe LoopbackExempt -a -p=%p

@bj6785
Copy link

bj6785 commented Jul 6, 2021

我和楼主遇到的问题一样,outlook和team软件都连接不上,日志信息显示teams软件和outlook用的都是直连,但是还是连接不上

@thisfoolnick
Copy link

试了一下,打开“自动配置系统代理”用可以登陆,无论是白名单还是黑名单模式的路由。

@LeooChong
Copy link

大家有没有解决方案,我也遇到同样的问题,微软的Onedrive、Teams、Outllook、Office等所有客户端软件均无法访问。

@2dust
Copy link
Owner

2dust commented Apr 4, 2022

请用clashN开启tun模式试一试
https://github.com/2dust/clashN

@2dust 2dust closed this as completed Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants