123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- {
- "log": {
- "disabled": false,
- "level": "error",
- "timestamp": true
- },
- "dns": {
- "servers": [
- {
- "tag": "default-dns",
- "address": "223.5.5.5",
- "detour": "direct"
- },
- {
- "tag": "system-dns",
- "address": "local",
- "detour": "direct"
- },
- {
- "tag": "block-dns",
- "address": "rcode://name_error"
- },
- {
- "tag": "google",
- "address": "https://dns.google/dns-query",
- "address_resolver": "default-dns",
- "address_strategy": "ipv4_only",
- "strategy": "ipv4_only",
- "client_subnet": "1.0.1.0"
- }
- ],
- "rules": [
- {
- "outbound": "any",
- "server": "default-dns"
- },
- {
- "query_type": "HTTPS",
- "server": "block-dns"
- },
- {
- "clash_mode": "direct",
- "server": "default-dns"
- },
- {
- "clash_mode": "global",
- "server": "google"
- },
- {
- "rule_set": "geosite-cn",
- "server": "default-dns"
- }
- ],
- "strategy": "ipv4_only",
- "disable_cache": false,
- "disable_expire": false,
- "independent_cache": false,
- "final": "google"
- },
- "experimental": {
- "cache_file": {
- "enabled": true,
- "path": "cache.db",
- "cache_id": "cache_db",
- "store_fakeip": true
- }
- },
- "inbounds": [
- {
- "auto_route": true,
- "domain_strategy": "prefer_ipv4",
- "endpoint_independent_nat": true,
- "inet4_address": "172.19.0.1/30",
- "mtu": 9000,
- "sniff": true,
- "sniff_override_destination": true,
- "stack": "system",
- "strict_route": true,
- "type": "tun"
- },
- {
- "domain_strategy": "prefer_ipv4",
- "listen": "127.0.0.1",
- "listen_port": 2333,
- "sniff": true,
- "sniff_override_destination": true,
- "tag": "socks-in",
- "type": "socks",
- "users": []
- },
- {
- "domain_strategy": "prefer_ipv4",
- "listen": "127.0.0.1",
- "listen_port": 2334,
- "sniff": true,
- "sniff_override_destination": true,
- "tag": "mixed-in",
- "type": "mixed",
- "users": []
- }
- ],
- "outbounds": [
- { "tag": "direct", "type": "direct" },
- { "tag": "block", "type": "block" },
- { "tag": "dns-out", "type": "dns" }
- ],
- "route": {
- "auto_detect_interface": true,
- "rules": [
- {
- "outbound": "dns-out",
- "protocol": "dns"
- },
- {
- "clash_mode": "direct",
- "outbound": "direct"
- },
- {
- "clash_mode": "global",
- "outbound": "proxy"
- },
- {
- "ip_is_private": true,
- "outbound": "direct"
- },
- {
- "rule_set": ["geosite-cn", "geoip-cn"],
- "outbound": "direct"
- }
- ],
- "rule_set": [
- {
- "tag": "geosite-cn",
- "type": "remote",
- "format": "binary",
- "url": "https://ewr1.vultrobjects.com/down/new-bucket-60f273fc/geosite-cn.srs",
- "download_detour": "direct"
- },
- {
- "tag": "geoip-cn",
- "type": "remote",
- "format": "binary",
- "url": "https://ewr1.vultrobjects.com/down/new-bucket-60f273fc/geoip-cn.srs",
- "download_detour": "direct"
- }
- ]
- }
- }
|