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

geosite:apple 是否在 geosite:geolocation-!cn 里面? #203

Closed
GeorgeRudd opened this issue Jun 23, 2022 · 2 comments
Closed

geosite:apple 是否在 geosite:geolocation-!cn 里面? #203

GeorgeRudd opened this issue Jun 23, 2022 · 2 comments

Comments

@GeorgeRudd
Copy link

客户端配置

	"routing": {
		"domainStrategy": "IPIfNonMatch",
		"domainMatcher": "mph",
		"rules": [
			{
				"type": "field",
				"outboundTag": "proxy",
				"domains": [
					"geosite:geolocation-!cn"
				]
			},
			{
				"outboundTag": "direct",
				"type": "field",
				"domains": [
					"geosite:cn"
				]
			},
			{
				"outboundTag": "direct",
				"type": "field",
				"ip": [
					"geoip:cn",
					"geoip:private"
				]
			}
		]
	}

访问apple.com.cn是直连 accepted tcp:www.apple.com.cn:443 [socks -> direct]
访问apple.com走代理 accepted tcp:www.apple.com:443 [socks -> proxy]

这里 说apple类别在geosite:geolocation-!cn 里面,那访问apple.com.cn应该也走代理才对啊

@Loyalsoldier
Copy link
Owner

在。V2RayN 等客户端的规则优先级可能会有一些问题。

@GeorgeRudd
Copy link
Author

GeorgeRudd commented Jun 23, 2022

你好 我刚刚试了 https://github.com/XTLS/Xray-core/releaseshttps://github.com/v2fly/v2ray-core/releases 里面的geo文件 同样配置下 apple.com.cn 都是走代理的
[Info] app/dispatcher: sniffed domain: apple.com.cn
[Info] app/dispatcher: taking detour [proxy] for [tcp:apple.com.cn:443]

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

2 participants