Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "log": {
- "disabled": false,
- "level": "warn",
- "timestamp": true
- },
- "experimental": {
- "clash_api": {
- "external_controller": "0.0.0.0:9090",
- "external_ui": "yacd",
- "external_ui_download_url": "https://github.com/MetaCubeX/Yacd-meta/archive/gh-pages.zip",
- "external_ui_download_detour": "Internet",
- "secret": "reyre",
- "default_mode": "rule",
- "store_selected": true,
- "cache_file": "clash.db"
- }
- },
- "dns": {
- "servers": [
- {
- "tag": "Internet-dns",
- "address": "1.0.0.1",
- "strategy": "ipv4_only",
- "detour": "Internet"
- },
- {
- "tag": "Best Latency-dns",
- "address": "1.1.1.1",
- "strategy": "ipv4_only",
- "detour": "Best Latency"
- },
- {
- "tag": "Lock Region ID-dns",
- "address": "8.8.8.8",
- "strategy": "ipv4_only",
- "detour": "Lock Region ID"
- },
- {
- "tag": "WhatsApp-dns",
- "address": "8.8.4.4",
- "strategy": "ipv4_only",
- "detour": "WhatsApp"
- },
- {
- "tag": "GAMESMAX(ML/FF/AOV)-dns",
- "address": "8.8.4.4",
- "strategy": "ipv4_only",
- "detour": "GAMESMAX(ML/FF/AOV)"
- },
- {
- "tag": "Route Port Game-dns",
- "address": "9.9.9.9",
- "strategy": "ipv4_only",
- "detour": "Route Port Game"
- },
- {
- "tag": "direct-dns",
- "address": "149.112.112.112",
- "strategy": "ipv4_only",
- "detour": "direct"
- },
- {
- "tag": "block-dns",
- "address": "rcode://success"
- }
- ],
- "rules": [
- {
- "domain_suffix": [
- ".arpa.",
- ".arpa"
- ],
- "server": "block-dns",
- "rewrite_ttl": 20
- },
- {
- "network": "udp",
- "port": 443,
- "server": "block-dns",
- "rewrite_ttl": 20
- },
- {
- "geosite": "rule-malicious",
- "server": "block-dns",
- "rewrite_ttl": 20
- },
- {
- "outbound": "Internet",
- "server": "Internet-dns",
- "rewrite_ttl": 20
- },
- {
- "outbound": "Best Latency",
- "server": "Best Latency-dns",
- "rewrite_ttl": 20
- },
- {
- "outbound": "Lock Region ID",
- "server": "Lock Region ID-dns",
- "rewrite_ttl": 20
- },
- {
- "outbound": "WhatsApp",
- "server": "WhatsApp-dns",
- "rewrite_ttl": 20
- },
- {
- "outbound": "GAMESMAX(ML/FF/AOV)",
- "server": "GAMESMAX(ML/FF/AOV)-dns",
- "rewrite_ttl": 20
- },
- {
- "outbound": "Route Port Game",
- "server": "Route Port Game-dns",
- "rewrite_ttl": 20
- },
- {
- "outbound": "direct",
- "server": "direct-dns",
- "rewrite_ttl": 20
- },
- {
- "outbound": "any",
- "server": "direct-dns",
- "rewrite_ttl": 20
- }
- ],
- "reverse_mapping": true,
- "strategy": "ipv4_only",
- "independent_cache": true
- },
- "inbounds": [
- {
- "type": "tun",
- "tag": "tun-in",
- "interface_name": "tun0",
- "inet4_address": "172.19.0.1/30",
- "inet6_address": "fdfe:dcba:9876::1/126",
- "mtu": 1358,
- "auto_route": true,
- "strict_route": true,
- "stack": "gvisor",
- "endpoint_independent_nat": true,
- "sniff": true
- }
- ],
- "outbounds": [
- {
- "type": "selector",
- "tag": "Internet",
- "outbounds": [
- "Best Latency",
- "Trojan gRPC",
- "Vless gRPC",
- ]
- },
- {
- "type": "urltest",
- "tag": "Best Latency",
- "outbounds": [
- "Trojan gRPC",
- "Vless gRPC",
- ],
- "url": "https://detectportal.firefox.com/success.txt",
- "interval": "1m0s"
- },
- {
- "type": "selector",
- "tag": "Lock Region ID",
- "outbounds": [
- "Trojan gRPC",
- "Vless gRPC",
- ]
- },
- {
- "type": "selector",
- "tag": "Option ADs",
- "outbounds": [
- "block",
- "Internet"
- ]
- },
- {
- "type": "selector",
- "tag": "Option P0rn",
- "outbounds": [
- "block",
- "Internet"
- ]
- },
- {
- "domain_strategy": "ipv4_only",
- "tag": "Trojan gRPC",
- "type": "trojan",
- "server": "IP/HOSTED CDN FROM CLOUDFLARE",
- "server_port": 443,
- "password": "PASSWORD",
- "tls": {
- "enabled": true,
- "server_name": "YOURDOMAINSERVER",
- "insecure": true,
- "utls": {
- "enabled": true,
- "fingerprint": "chrome"
- }
- },
- "transport": {
- "type": "grpc",
- "service_name": "buy-trojan-grpc-pm-telegram-at-synricha",
- "idle_timeout": "15s",
- "ping_timeout": "15s",
- "permit_without_stream": false
- },
- "multiplex": {
- "enabled": false,
- "protocol": "smux",
- "max_streams": 32
- }
- },
- {
- "domain_strategy": "ipv4_only",
- "tag": "Vless gRPC",
- "type": "vless",
- "server": "IP/YOURDOMAINSERVER",
- "server_port": 443,
- "uuid": "UUID",
- "flow": "",
- "tls": {
- "enabled": true,
- "server_name": "TARGETDOMAIN",
- "insecure": true,
- "utls": {
- "enabled": false,
- "fingerprint": "chrome"
- }
- },
- "multiplex": {
- "enabled": false,
- "protocol": "smux",
- "max_streams": 32
- },
- "packet_encoding": "xudp",
- "transport": {
- "type": "grpc",
- "service_name": "buy-vless-grpc-pm-telegram-at-synricha",
- "idle_timeout": "15s",
- "ping_timeout": "15s",
- "permit_without_stream": false
- }
- },
- {
- "type": "direct",
- "tag": "direct"
- },
- {
- "type": "block",
- "tag": "block"
- },
- {
- "type": "dns",
- "tag": "dns-out"
- }
- ],
- "route": {
- "auto_detect_interface": true,
- "override_android_vpn": true,
- "final": "Internet",
- "geoip": {
- "download_url": "https://github.com/malikshi/sing-box-geo/releases/latest/download/geoip.db",
- "download_detour": "Best Latency"
- },
- "geosite": {
- "download_url": "https://github.com/malikshi/v2ray-rules-dat/releases/latest/download/geosite.db",
- "download_detour": "Best Latency"
- },
- }
- }
Advertisement