Skip to content

Instantly share code, notes, and snippets.

@lychichem
Last active October 22, 2022 13:51
Show Gist options
  • Save lychichem/0cc7cdc65856d5b792fdc17e0de79e64 to your computer and use it in GitHub Desktop.
Save lychichem/0cc7cdc65856d5b792fdc17e0de79e64 to your computer and use it in GitHub Desktop.
routing
"routing": {
"domainStrategy": "IPOnDemand",
"domainMatcher": "linear",
"rules": [
{
"type": "field",
"inboundTag": [
"api"
],
"outboundTag": "api",
"enabled": true
},
{
"type": "field",
"inboundTag": [],
"outboundTag": "direct",
"domain": [
"domain:amazonaws.com",
"domain:avatar.githubusercontent.com",
"domain:dmhy.org",
"domain:justmysocks1.net",
"domain:pics.dmm.com",
"domain:sourceforge.net",
"domain:windows.net",
"domain:wordpress.com",
"domain:wp.com",
"domain:zaobao.com",
"regexp:avatar[0-3].githubusercontent.com"
],
"enabled": true
},
{
"type": "field",
"inboundTag": [],
"outboundTag": "proxy",
"domain": [
"domain:apps.accounts.nintendo.com",
"domain:az764295.vo.msecnd.net",
"domain:cdn.plot.ly",
"domain:cdnamz.me",
"domain:hydrogenaud.io",
"domain:logitech.zendesk.com",
"domain:my.nintendo.com",
"domain:npwuscdn-onenote.azureedge.net",
"domain:support.logi.com",
"domain:vscodeweb.azureedge.net",
"domain:www.xpsfitting.com",
"domain:dotnetcli.azureedge.net",
"geosite:gfw",
"geosite:greatfire",
"geosite:tld-!cn",
"regexp:vodcache([0-9]{1,10})\\.dmc\\.nico"
],
"enabled": true
},
{
"type": "field",
"inboundTag": [],
"outboundTag": "proxy",
"ip": [
"geoip:telegram"
],
"enabled": true
},
{
"type": "field",
"port": "0-65535",
"outboundTag": "direct",
"enabled": true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment