Created
September 30, 2023 10:06
-
-
Save debiansid/f0a7773fc9d788e65702b8564c6aa3f6 to your computer and use it in GitHub Desktop.
singbox_for_ios.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"log": { | |
"disabled": false, | |
"level": "warn", | |
"timestamp": true | |
}, | |
"dns": { | |
"servers": [ | |
{ | |
"tag": "mainDNS", | |
"address": "https://223.6.6.6/dns-query", | |
"detour": "DIRECT" | |
}, | |
{ | |
"tag": "fakeipDNS", | |
"address": "fakeip" | |
} | |
], | |
"rules": [ | |
{ | |
"outbound": "any", | |
"server": "mainDNS" | |
}, | |
{ | |
"clash_mode": "direct", | |
"server": "mainDNS" | |
}, | |
{ | |
"query_type": [ | |
"A", | |
"AAAA" | |
], | |
"server": "fakeipDNS" | |
} | |
], | |
"final": "mainDNS", | |
"strategy": "ipv4_only", | |
"disable_cache": false, | |
"disable_expire": false, | |
"independent_cache": true, | |
"reverse_mapping": false, | |
"fakeip": { | |
"enabled": true, | |
"inet4_range": "198.18.0.0/15", | |
"inet6_range": "fc00::/18" | |
} | |
}, | |
"inbounds": [ | |
{ | |
"type": "tun", | |
"inet4_address": "172.19.0.1/30", | |
"mtu": 9000, | |
"auto_route": true, | |
"strict_route": false, | |
"sniff": true, | |
"endpoint_independent_nat": false, | |
"stack": "system", | |
"platform": { | |
"http_proxy": { | |
"enabled": true, | |
"server": "127.0.0.1", | |
"server_port": 7890 | |
} | |
} | |
}, | |
{ | |
"type": "mixed", | |
"listen": "0.0.0.0", | |
"listen_port": 7890, | |
"sniff": true, | |
"users": [] | |
} | |
], | |
"outbounds": [ | |
{ | |
"tag": "PROXY", | |
"type": "selector", | |
"outbounds": [ | |
"๐ญ๐ฐ REALITY", | |
"๐ญ๐ฐ TROJAN", | |
"๐บ๐ธ REALITY", | |
"๐บ๐ธ TROJAN" | |
], | |
"default": "๐บ๐ธ REALITY", | |
"interrupt_exist_connections": false | |
}, | |
{ | |
"tag": "FINAL", | |
"type": "selector", | |
"outbounds": [ | |
"PROXY", | |
"DIRECT" | |
], | |
"default": "PROXY", | |
"interrupt_exist_connections": false | |
}, | |
{ | |
"tag": "APPLE", | |
"type": "selector", | |
"outbounds": [ | |
"PROXY", | |
"DIRECT", | |
"๐ญ๐ฐ REALITY", | |
"๐ญ๐ฐ TROJAN", | |
"๐บ๐ธ REALITY", | |
"๐บ๐ธ TROJAN" | |
], | |
"default": "DIRECT", | |
"interrupt_exist_connections": false | |
}, | |
{ | |
"tag": "STEAM", | |
"type": "selector", | |
"outbounds": [ | |
"PROXY", | |
"DIRECT", | |
"๐ญ๐ฐ REALITY", | |
"๐ญ๐ฐ TROJAN", | |
"๐บ๐ธ REALITY", | |
"๐บ๐ธ TROJAN" | |
], | |
"default": "PROXY", | |
"interrupt_exist_connections": false | |
}, | |
{ | |
"tag": "BING", | |
"type": "selector", | |
"outbounds": [ | |
"PROXY", | |
"DIRECT", | |
"๐ญ๐ฐ REALITY", | |
"๐ญ๐ฐ TROJAN", | |
"๐บ๐ธ REALITY", | |
"๐บ๐ธ TROJAN" | |
], | |
"default": "PROXY", | |
"interrupt_exist_connections": false | |
}, | |
{ | |
"tag": "๐ญ๐ฐ REALITY", | |
"type": "vless", | |
"server": "123.123.123.123", | |
"server_port": 443, | |
"uuid": "uuid", | |
"flow": "xtls-rprx-vision", | |
"network": "tcp", | |
"tls": { | |
"enabled": true, | |
"server_name": "exp.com", | |
"utls": { | |
"enabled": true, | |
"fingerprint": "chrome" | |
}, | |
"reality": { | |
"enabled": true, | |
"public_key": "key", | |
"short_id": "" | |
} | |
}, | |
"packet_encoding": "xudp" | |
}, | |
{ | |
"tag": "๐ญ๐ฐ TROJAN", | |
"type": "trojan", | |
"server": "exp.com", | |
"server_port": 443, | |
"password": "password", | |
"network": "tcp", | |
"tls": { | |
"enabled": true, | |
"server_name": "exp.com", | |
"insecure": false, | |
"utls": { | |
"enabled": true, | |
"fingerprint": "chrome" | |
} | |
} | |
}, | |
{ | |
"tag": "๐บ๐ธ REALITY", | |
"type": "vless", | |
"server": "123.123.123.123", | |
"server_port": 443, | |
"uuid": "uuid", | |
"flow": "xtls-rprx-vision", | |
"network": "tcp", | |
"tls": { | |
"enabled": true, | |
"server_name": "exp.com", | |
"utls": { | |
"enabled": true, | |
"fingerprint": "chrome" | |
}, | |
"reality": { | |
"enabled": true, | |
"public_key": "key", | |
"short_id": "" | |
} | |
}, | |
"packet_encoding": "xudp" | |
}, | |
{ | |
"tag": "๐บ๐ธ TROJAN", | |
"type": "trojan", | |
"server": "exp.com", | |
"server_port": 443, | |
"password": "password", | |
"network": "tcp", | |
"tls": { | |
"enabled": true, | |
"server_name": "exp.com", | |
"insecure": false, | |
"utls": { | |
"enabled": true, | |
"fingerprint": "chrome" | |
} | |
} | |
}, | |
{ | |
"tag": "DIRECT", | |
"type": "direct" | |
}, | |
{ | |
"tag": "DNS-OUT", | |
"type": "dns" | |
}, | |
{ | |
"tag": "BLOCK", | |
"type": "block" | |
} | |
], | |
"route": { | |
"geoip": { | |
"download_url": "https://ghproxy.com/github.com/SagerNet/sing-geoip/releases/latest/download/geoip.db", | |
"download_detour": "DIRECT" | |
}, | |
"geosite": { | |
"download_url": "https://ghproxy.com/github.com/SagerNet/sing-geosite/releases/latest/download/geosite.db", | |
"download_detour": "DIRECT" | |
}, | |
"rules": [ | |
{ | |
"protocol": "dns", | |
"outbound": "DNS-OUT" | |
}, | |
{ | |
"clash_mode": "direct", | |
"outbound": "DIRECT" | |
}, | |
{ | |
"clash_mode": "global", | |
"outbound": "PROXY" | |
}, | |
{ | |
"network": "udp", | |
"port": 443, | |
"outbound": "BLOCK" | |
}, | |
{ | |
"ip_cidr": ["123.123.123.123/32", "123.123.123.123/32"], | |
"domain_suffix": [ | |
"exp.com" | |
], | |
"outbound": "DIRECT" | |
}, | |
{ | |
"geosite": "apple", | |
"outbound": "APPLE" | |
}, | |
{ | |
"geosite": "bing", | |
"outbound": "BING" | |
}, | |
{ | |
"geosite": [ | |
"github", | |
"google", | |
"telegram" | |
], | |
"geoip": "telegram", | |
"outbound": "PROXY" | |
}, | |
{ | |
"geoip": [ | |
"private", | |
"cn" | |
], | |
"geosite": [ | |
"private", | |
"cn" | |
], | |
"outbound": "DIRECT" | |
}, | |
{ | |
"geosite": "steam", | |
"outbound": "STEAM" | |
} | |
], | |
"final": "FINAL", | |
"auto_detect_interface": true | |
}, | |
"experimental": { | |
"clash_api": { | |
"external_controller": "0.0.0.0:9090", | |
"external_ui": "ui", | |
"external_ui_download_url": "https://github.com/MetaCubeX/Yacd-meta/archive/gh-pages.zip", | |
"external_ui_download_detour": "PROXY", | |
"secret": "secret", | |
"default_mode": "rule", | |
"store_mode": true, | |
"store_selected": false, | |
"store_fakeip": true | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment