double klik untuk salin{
"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": "Best Latency",
"secret": "",
"default_mode": "rule",
"store_selected": true,
"cache_file": "clash.db"
}
},
"dns": {
"servers": [
{
"tag": "Internet-dns",
"address": "1.1.1.1",
"strategy": "ipv4_only",
"detour": "Internet"
},
{
"tag": "Best Latency-dns",
"address": "1.1.1.1",
"strategy": "ipv4_only",
"detour": "Best Latency"
},
{
"tag": "Fallback ID-dns",
"address": "1.1.1.1",
"strategy": "ipv4_only",
"detour": "Fallback SG"
},
{
"tag": "Lock Region ID-dns",
"address": "1.1.1.1",
"strategy": "ipv4_only",
"detour": "Lock Region ID"
},
{
"tag": "WhatsApp-dns",
"address": "1.1.1.1",
"strategy": "ipv4_only",
"detour": "WhatsApp"
},
{
"tag": "Remote-dns",
"address": "1.1.1.1",
"strategy": "ipv4_only",
"detour": "Remote"
},
{
"tag": "Bank-dns",
"address": "1.1.1.1",
"strategy": "ipv4_only",
"detour": "Bank"
},
{
"tag": "Streaming-dns",
"address": "1.1.1.1",
"strategy": "ipv4_only",
"detour": "Streaming"
},
{
"tag": "Game-dns",
"address": "1.1.1.1",
"strategy": "ipv4_only",
"detour": "Game"
},
{
"tag": "Route Port Game-dns",
"address": "1.1.1.1",
"strategy": "ipv4_only",
"detour": "Route Port Game"
},
{
"tag": "direct-dns",
"address": "local",
"strategy": "ipv4_only",
"detour": "direct"
},
{
"tag": "block-dns",
"address": "rcode://success"
}
],
"rules": [
{
"domain_suffix": [
".arpa.",
".arpa"
],
"server": "block-dns",
"rewrite_ttl": 20
},
{
"domain_suffix": [
"domain.domain" // isi domain akun
],
"server": "direct-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": "Fallback SG",
"server": "Fallback ID-dns",
"rewrite_ttl": 20
},
{
"outbound": "Lock Region ID",
"server": "Lock Region ID-dns",
"rewrite_ttl": 20
},
{
"outbound": "Streaming",
"server": "Streaming-dns",
"rewrite_ttl": 20
},
{
"outbound": "Remote",
"server": "Remote-dns",
"rewrite_ttl": 20
},
{
"outbound": "Bank",
"server": "Bank-dns",
"rewrite_ttl": 20
},
{
"outbound": "WhatsApp",
"server": "WhatsApp-dns",
"rewrite_ttl": 20
},
{
"outbound": "Game",
"server": "Game-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,
"disable_cache": true
},
"inbounds": [
{
"type": "tun",
"tag": "tun-in",
"interface_name": "tun0",
"inet4_address": "172.19.0.1/30",
"mtu": 9000,
"auto_route": true,
"strict_route": true,
"stack": "system",
"endpoint_independent_nat": true,
"sniff": true
},
{
"listen": "0.0.0.0",
"listen_port": 2080,
"sniff": true,
"tag": "mixed-in",
"type": "mixed"
}
],
"outbounds": [
{
"type": "selector",
"tag": "Internet",
"outbounds": [
"Best Latency",
"id",
"id-backup"
]
},
{
"type": "urltest",
"tag": "Best Latency",
"outbounds": [
"id",
"id-backup"
],
"url": "https://detectportal.firefox.com/success.txt",
"interval": "1m0s"
},
{
"type": "urltest",
"tag": "Fallback SG",
"outbounds": [
"sg"
],
"url": "https://detectportal.firefox.com/success.txt",
"interval": "1m0s"
},
{
"type": "selector",
"tag": "Lock Region ID",
"outbounds": [
"id",
"id-backup"
]
},
{
"tag": "sg",
"type": "vmess",
"server": "",
"server_port": 443,
"uuid": "",
"security": "auto",
"alter_id": 0,
"global_padding": false,
"authenticated_length": true,
"multiplex": {
"enabled": false,
"protocol": "smux",
"max_streams": 32
},
"tls": {
"enabled": true,
"server_name": "",
"insecure": true,
"disable_sni": false
},
"transport": {
"type": "grpc",
"service_name": "vmess-grpc",
"idle_timeout": "15s",
"ping_timeout": "15s",
"permit_without_stream": false
},
"domain_strategy": "ipv4_only"
},
{
"tag": "id",
"type": "vmess",
"server": "",
"server_port": 443,
"uuid": "",
"security": "auto",
"alter_id": 0,
"global_padding": false,
"authenticated_length": true,
"multiplex": {
"enabled": false,
"protocol": "smux",
"max_streams": 32
},
"tls": {
"enabled": true,
"server_name": "",
"insecure": true,
"disable_sni": false
},
"transport": {
"type": "grpc",
"service_name": "vmess-grpc",
"idle_timeout": "15s",
"ping_timeout": "15s",
"permit_without_stream": false
},
"domain_strategy": "ipv4_only"
},
{
"tag": "id-backup",
"type": "trojan",
"server": "",
"server_port": 443,
"password": "",
"multiplex": {
"enabled": false,
"protocol": "smux",
"max_streams": 32
},
"tls": {
"enabled": true,
"server_name": "",
"insecure": true,
"disable_sni": false
},
"transport": {
"type": "ws",
"path": "/trojanWS",
"headers": {
"Host": ""
},
"max_early_data": 0,
"early_data_header_name": "Sec-WebSocket-Protocol"
},
"domain_strategy": "ipv4_only"
},
{
"type": "selector",
"tag": "WhatsApp",
"outbounds": [
"Internet",
"Best Latency",
"Lock Region ID",
"Fallback SG",
"direct"
]
},
{
"type": "selector",
"tag": "Bank",
"outbounds": [
"Internet",
"Best Latency",
"Lock Region ID",
"Fallback SG",
"direct"
]
},
{
"type": "selector",
"tag": "Streaming",
"outbounds": [
"Fallback SG",
"Internet",
"Best Latency",
"Lock Region ID"
]
},
{
"type": "selector",
"tag": "Remote",
"outbounds": [
"direct",
"Lock Region ID"
]
},
{
"type": "selector",
"tag": "Game",
"outbounds": [
"Fallback SG",
"Internet",
"Best Latency",
"Lock Region ID",
"direct"
]
},
{
"type": "selector",
"tag": "Route Port Game",
"outbounds": [
"Fallback SG",
"Internet",
"Best Latency",
"Lock Region ID",
"direct"
]
},
{
"type": "selector",
"tag": "Iklan",
"outbounds": [
"block",
"Internet"
]
},
{
"type": "selector",
"tag": "18+",
"outbounds": [
"block",
"Fallback SG",
"Internet"
]
},
{
"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"
},
"rules": [
{
"outbound": "dns-out",
"port": [
53
]
},
{
"network": "udp",
"port": [
443
],
"outbound": "block"
},
{
"domain_suffix": [
"googlesyndication.com"
],
"outbound": "Internet"
},
{
"geosite": [
"rule-ads"
],
"outbound": "Iklan"
},
{
"domain_keyword": [
"zerotier"
],
"domain": [
"my.zerotier.com"
],
"domain_suffix": [
"zerotier.com"
],
"port": [
8192,
8778,
8789,
8129,
7090,
7080,
7001,
8001,
9993,
43899,
8291
],
"outbound": "Remote"
},
{
"domain_keyword": [
"BRI",
"Bank Mandiri",
"Bank BCA",
"Bank Jago",
"Bank BNI",
"dana",
"gopay",
"gojek",
"tokopedia",
"liveon",
"mytelkomsel",
"JKN",
"Mobile JKN",
"BPJS",
"byu",
"axis"
],
"domain_suffix": [
"bri.co.id",
"klikbca.com",
"bankmandiri.co.id",
"axis.co.id"
],
"outbound": "Bank"
},
{
"geosite": "rule-streaming",
"domain_suffix": [
"tiktok.com",
"byteoversea.com",
"musical.ly",
"p16-tiktokcdn-com.akamaized.net"
],
"geoip": "netflix",
"outbound": "Streaming"
},
{
"geosite": "rule-gaming",
"outbound": "Game"
},
{
"geosite": [
"oisd-nsfw",
"category-porn"
],
"outbound": "18+"
},
{
"geosite": "whatsapp",
"geoip": "telegram",
"geoip": "google",
"geosite": "videoconference",
"outbound": "WhatsApp"
},
{
"geoip": "facebook",
"port": [
3478,
4244,
5222,
5223,
5242,
45395,
50318,
59234
],
"outbound": "WhatsApp"
},
{
"protocol": "stun",
"outbound": "Internet"
},
{
"geosite": [
"rule-indo"
],
"outbound": "Lock Region ID"
},
{
"network": "udp",
"port": [
2702,
3702,
8443,
9120,
9992,
10003,
6006,
6008,
6674,
7889,
8008,
8130,
8443,
9008,
9120,
10100,
12008,
13008,
8011,
9030,
10491,
10612,
12235,
13004,
13748,
17000,
17500,
10039,
10096,
11455,
13894,
13972
],
"port_range": [
"4001:4009",
"5000:5221",
"5224:5241",
"5243:5287",
"5289:5352",
"5354:5509",
"5517:5529",
"5551:5559",
"5601:5700",
"9000:9010",
"30000:30300",
"7006:7008",
"8001:8012",
"10000:10015",
"11000:11019",
"10101:10201",
"10080:10110",
"17000:18000"
],
"outbound": "Game"
},
{
"network": "tcp",
"port": [
5517,
8443,
9443,
10003,
6006,
6008,
6674,
7889,
9006,
9137,
12006,
12008,
13006,
15006,
20561,
39003,
39006,
39698,
39779,
39800,
10012,
14000,
15692,
17000,
17500,
18081,
20371,
8013,
8085,
18082,
20000,
50000,
65010,
65050,
8013,
18082,
20166,
31003,
33445,
50000,
42472,
14422,
16999,
8013,
8888,
30031,
14009,
40005,
9339,
2099,
8088,
5692,
8085,
8500,
10000,
10082,
20000,
25000,
29134,
31003
],
"port_range": [
"5000:5221",
"5224:5227",
"5229:5241",
"5243:5287",
"5289:5352",
"5354:5509",
"5520:5529",
"5551:5559",
"5601:5700",
"9000:9010",
"30000:30300",
"7006:7008",
"8001:8012",
"10000:10012",
"11000:11019",
"8085:8088",
"10000:10019",
"20000:20002",
"10000:10001",
"20000:20001",
"9330:9340",
"2080:2099",
"9100:9200",
"8230:8250",
"8110:8120",
"27000:28998",
"7770:7790",
"44590:44610",
"10500:10515",
"27015:27030",
"27036:27037",
"39190:39200",
"49001:49190",
"8393:8400"
],
"outbound": "Route Port Game"
},
{
"network": "udp",
"port": [
2702,
3702,
8443,
9120,
9992,
10003,
6006,
6008,
6674,
7889,
8008,
8130,
8443,
9008,
9120,
10100,
12008,
13008,
8700,
10013,
10019,
10039,
10096,
10491,
10612,
11455,
12235,
13748,
13894,
13972,
17000,
17500,
8700,
9030,
8011,
9030,
10491,
10612,
12235,
13004,
13748,
17000,
17500,
10039,
10096,
11455,
13894,
13972,
42472,
5100,
39000,
4380,
27036,
14422,
16999,
8013,
8888,
8000,
30104,
14009,
40005,
8088,
5010,
6650,
8011,
8700,
20000,
25000,
29134,
30000
],
"port_range": [
"4001:4009",
"5000:5221",
"5224:5241",
"5243:5287",
"5289:5352",
"5354:5509",
"5517:5529",
"5551:5559",
"5601:5700",
"9000:9010",
"30000:30300",
"7006:7008",
"8001:8012",
"10000:10015",
"11000:11019",
"7086:7995",
"8011:8013",
"9030:9031",
"20000:20002",
"12070:12460",
"41182:41192",
"7500:7995",
"10010:10019",
"20000:20001",
"10101:10201",
"10080:10110",
"17000:18000",
"5055:5058",
"22101:22102",
"9330:9340",
"27000:28998",
"16300:16350",
"40000:40010",
"60970:60980",
"27000:27031",
"40000:40010",
"7000:8000",
"8180:8181",
"27016:27024",
"54000:54012"
],
"outbound": "Route Port Game"
},
{
"geoip": [
"id"
],
"port": [
21,
22,
23,
80,
81,
123,
143,
182,
183,
194,
443,
465,
587,
853,
993,
995,
998,
2052,
2053,
2082,
2083,
2086,
2095,
2096,
5222,
5228,
5229,
5230,
8000,
8080,
8081,
8088,
8443,
8880,
8883,
8888,
8889,
42069
],
"outbound": "Lock Region ID"
},
{
"port": [
21,
22,
23,
80,
81,
123,
143,
182,
183,
194,
443,
465,
587,
853,
993,
995,
998,
2052,
2053,
2082,
2083,
2086,
2095,
2096,
5222,
5228,
5229,
5230,
8000,
8080,
8081,
8088,
8443,
8880,
8883,
8888,
8889,
42069
],
"outbound": "Internet"
},
{
"port_range": [
"1023:42068",
"42070:65535"
],
"outbound": "Route Port Game"
}
]
}
}