Skip to content

Instantly share code, notes, and snippets.

@yukixz
Last active April 17, 2019 04:54
Show Gist options
  • Save yukixz/308afb47e84166931d8b45c76a57208b to your computer and use it in GitHub Desktop.
Save yukixz/308afb47e84166931d8b45c76a57208b to your computer and use it in GitHub Desktop.
v2ray routing rules for cn&!cn
{
"domainStrategy" : "IPOnDemand",
"rules" : [
{
"type" : "field",
"outboundTag" : "direct",
"domain" : [
"geosite:cn",
"geosite:apple",
"domain:me.com",
"domain:cdn-apple.com",
"domain:aaplimg.com",
"domain:steampowered.com"
]
},
{
"type" : "field",
"outboundTag" : "proxy",
"domain" : [
"geosite:geolocation-!cn",
"domain:tw"
]
},
{
"type" : "field",
"ip" : [
"geoip:private",
"geoip:cn"
],
"outboundTag" : "direct"
},
{
"type" : "field",
"outboundTag" : "proxy",
"port" : "0-65535"
}
],
"name" : "routing"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment