banner
oldcatY

oldcatY

中轻度LoveLive厨,主推莲团,二推水+虹团(缪团是神,星团……)
twitter
github
bilibili
steam

【Scientific Internet】v2rayN Lazy Man's Easy Routing Configuration

DNS Resolution and Routing#

{
   "servers": [
     {
       "address": "https+local://doh.pub/dns-query",
       "port": 443,
       "domains": [
         "geosite:cn"
       ],
       "expectIPs": [
         "geoip:cn"
       ]
     },
     {
       "address": "https+local://1.1.1.1/dns-query",
       "port": 443,
       "domains": [
         "geosite:geolocation-!cn",
         "geosite:speedtest"
       ]
     },
     "1.1.1.1",
     "localhost"
   ]
}

Routing Settings#

Before setting, download the geosite and geoip files from LoyalSodier's repository and replace them.

1. Block#

geosite:category-ads-all

2. Direct (Custom Domains)#

domain:cm.steampowered.com,
domain:steamserver.net

Mainly for direct connection to Steam login to prevent downloads from redirecting to foreign regions after login.

3. Direct (Supplement)#

geosite:private,
geosite:apple-cn,
geosite:tld-cn,
geosite:category-games@cn

This part is to supplement the cn part.

4. Proxy (Non-cn Traffic)#

geosite:geolocation-!cn

This part can route common foreign websites to the proxy.

5. Direct (cn)#

geosite:cn
geoip:cn,
geoip:private

Fallback direct connection rules.

6. Proxy (Match)#

Any domain/ip that does not match the above rules will go directly to the proxy.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.