--- tproxy-port: 7895 bind-address: "*" mode: rule allow-lan: true log-level: silent external-controller: 0.0.0.0:9090 external-ui: "/usr/share/openclash/ui" unified-delay: true ipv6: false dns: enable: true ipv6: false listen: 0.0.0.0:7874 enhanced-mode: fake-ip fake-ip-range: 198.18.0.1/16 use-hosts: true nameserver: - 1.1.1.1 - 192.168.8.1 - tls://1.1.1.1 - https://1.1.1.1 default-nameserver: - 1.1.1.1 - 192.168.8.1 - tls://1.1.1.1 - https://1.1.1.1 fake-ip-filter: - "*.lan" - "*.localdomain" - "*.example" - "*.invalid" - "*.localhost" - "*.test" - "*.local" - "*.home.arpa" - time.*.com - time.*.gov - time.*.edu.cn - time.*.apple.com - time1.*.com - time2.*.com - time3.*.com - time4.*.com - time5.*.com - time6.*.com - time7.*.com - ntp.*.com - ntp1.*.com - ntp2.*.com - ntp3.*.com - ntp4.*.com - ntp5.*.com - ntp6.*.com - ntp7.*.com - "*.time.edu.cn" - "*.ntp.org.cn" - "+.pool.ntp.org" - time1.cloud.tencent.com - music.163.com - "*.music.163.com" - "*.126.net" - musicapi.taihe.com - music.taihe.com - songsearch.kugou.com - trackercdn.kugou.com - "*.kuwo.cn" - api-jooxtt.sanook.com - api.joox.com - joox.com - y.qq.com - "*.y.qq.com" - streamoc.music.tc.qq.com - mobileoc.music.tc.qq.com - isure.stream.qqmusic.qq.com - dl.stream.qqmusic.qq.com - aqqmusic.tc.qq.com - amobile.music.tc.qq.com - "*.xiami.com" - "*.music.migu.cn" - music.migu.cn - "+.msftconnecttest.com" - "+.msftncsi.com" - msftconnecttest.com - msftncsi.com - localhost.ptlogin2.qq.com - localhost.sec.qq.com - "+.srv.nintendo.net" - "*.n.n.srv.nintendo.net" - "+.stun.playstation.net" - xbox.*.*.microsoft.com - "*.*.xboxlive.com" - xbox.*.microsoft.com - xnotify.xboxlive.com - "+.battlenet.com.cn" - "+.wotgame.cn" - "+.wggames.cn" - "+.wowsgame.cn" - "+.wargaming.net" - proxy.golang.org - stun.*.* - stun.*.*.* - "+.stun.*.*" - "+.stun.*.*.*" - "+.stun.*.*.*.*" - "+.stun.*.*.*.*.*" - heartbeat.belkin.com - "*.linksys.com" - "*.linksyssmartwifi.com" - "*.router.asus.com" - mesu.apple.com - swscan.apple.com - swquery.apple.com - swdownload.apple.com - swcdn.apple.com - swdist.apple.com - lens.l.google.com - stun.l.google.com - "+.nflxvideo.net" - "*.square-enix.com" - "*.finalfantasyxiv.com" - "*.ffxiv.com" - "*.ff14.sdo.com" - ff.dorado.sdo.com - "*.mcdn.bilivideo.cn" - "+.media.dssott.com" proxy-providers: akun_indonesia: type: file path: "./proxy_provider/akun_indonesia.yaml" health-check: enable: true url: http://cp.cloudflare.com/generate_204 interval: 3 akun_singapura: type: file path: "./proxy_provider/akun_singapura.yaml" health-check: enable: true url: http://cp.cloudflare.com/generate_204 interval: 3 proxy-groups: - name: Akun_ID type: url-test disable-udp: false use: - akun_indonesia url: http://cp.cloudflare.com/generate_204 interval: 300 tolerance: 150 - name: Akun_SG type: url-test disable-udp: false use: - akun_singapura url: http://cp.cloudflare.com/generate_204 interval: 3 - name: LOAD-BALANCE type: load-balance strategy: consistent-hashing url: http://hi.bonds.id/ping interval: 3 use: - akun_indonesia - name: LB-STREAM type: load-balance strategy: consistent-hashing url: http://hi.bonds.id/ping interval: 3 use: - akun_indonesia - akun_singapura - name: PING type: url-test use: - akun_indonesia url: http://www.gstatic.com/generate_204 interval: 6 - name: FALLBACK type: fallback use: - akun_indonesia url: http://www.gstatic.com/generate_204 interval: 6 - name: TrafficAds type: select proxies: - REJECT - Akun_ID - PING - FALLBACK - name: TrafficPorn type: select proxies: - REJECT - Akun_SG - name: TrafficDirect type: select proxies: - DIRECT - Akun_ID - PING - FALLBACK - LOAD-BALANCE - name: TrafficChat type: select proxies: - DIRECT - Akun_ID - PING - FALLBACK - LOAD-BALANCE - name: TrafficPortGames type: select proxies: - DIRECT - PING - Akun_SG - name: TrafficGaming type: select proxies: - DIRECT - PING - Akun_SG - name: TrafficUmum type: select lazy: true proxies: - Akun_ID - PING - FALLBACK - LOAD-BALANCE url: http://www.gstatic.com/generate_204 interval: 30 - name: TrafficIndo type: select lazy: true proxies: - Akun_ID - PING - FALLBACK - LOAD-BALANCE url: http://www.gstatic.com/generate_204 interval: 30 - name: TrafficStreaming type: select lazy: true proxies: - LB-STREAM - Akun_SG url: http://www.gstatic.com/generate_204 interval: 30 - name: TrafficSosmed type: select lazy: true proxies: - LOAD-BALANCE - Akun_ID - Akun_SG url: http://www.gstatic.com/generate_204 interval: 30 rules: - DST-PORT,7895,REJECT - DST-PORT,7892,REJECT - IP-CIDR,198.18.0.1/16,REJECT,no-resolve - DST-PORT,22,TrafficDirect - RULE-SET,bank,TrafficDirect - RULE-SET,chat,TrafficDirect - RULE-SET,gaming,TrafficPortGames - RULE-SET,game_dl,TrafficGaming - RULE-SET,playstore,TrafficSosmed - RULE-SET,sosmed,TrafficSosmed - RULE-SET,streaming,TrafficStreaming - RULE-SET,speedtest,TrafficUmum - RULE-SET,18+,TrafficPorn - RULE-SET,rule_direct,TrafficDirect - RULE-SET,videoconference,TrafficSosmed - RULE-SET,rule_umum,TrafficUmum rule-providers: rule_direct: type: http behavior: classical path: "./rule_provider/rule_direct.yaml" url: https://raw.githubusercontent.com/malikshi/open_meta/main/rule_provider/rule_direct.yaml interval: 86400 rule_umum: type: http behavior: classical path: "./rule_provider/rule_umum.yaml" url: https://raw.githubusercontent.com/malikshi/open_clash/main/rule_provider/rule_umum.yaml interval: 86400 18+: type: http behavior: domain path: "./rule_provider/18+.yaml" url: https://raw.githubusercontent.com/mametlagii/rule-provider/main/adult.yaml interval: 86400 bank: type: http behavior: classical path: "./rule_provider/bank.yaml" url: https://raw.githubusercontent.com/mametlagii/rule-provider/main/bank.yaml interval: 86400 chat: type: http behavior: classical path: "./rule_provider/chat.yaml" url: https://raw.githubusercontent.com/mametlagii/rule-provider/main/chat.yaml interval: 86400 gaming: type: http behavior: classical path: "./rule_provider/game.yaml" url: https://raw.githubusercontent.com/mametlagii/rule-provider/main/game.yaml interval: 86400 game_dl: type: http behavior: domain path: "./rule_provider/game-dl.yaml" url: https://raw.githubusercontent.com/mametlagii/rule-provider/main/game-dl.yaml interval: 86400 playstore: type: http behavior: domain path: "./rule_provider/playstore.yaml" url: https://raw.githubusercontent.com/mametlagii/rule-provider/main/playstore.yaml interval: 86400 sosmed: type: http behavior: classical path: "./rule_provider/sosmed.yaml" url: https://raw.githubusercontent.com/malikshi/open_clash/main/rule_provider/rule_sosmed.yaml interval: 86400 streaming: type: http behavior: classical path: "./rule_provider/streaming.yaml" url: https://raw.githubusercontent.com/malikshi/open_clash/main/rule_provider/rule_streaming.yaml interval: 86400 speedtest: type: http behavior: classical path: "./rule_provider/speedtest.yaml" url: https://raw.githubusercontent.com/malikshi/open_clash/main/rule_provider/rule_speedtest.yaml interval: 86400 videoconference: type: http behavior: classical path: "./rule_provider/videoconference.yaml" url: https://raw.githubusercontent.com/malikshi/open_clash/main/rule_provider/rule_videoconferences.yaml interval: 86400 redir-port: 7892 port: 7890 socks-port: 7891 mixed-port: 7893 secret: abc geodata-mode: false geodata-loader: memconservative tcp-concurrent: true sniffer: enable: true sniffing: - tls - http ForceDnsMapping: false ParsePureIp: true tun: enable: true stack: system device: utun auto-route: false auto-detect-interface: false dns-hijack: - tcp://any:53 profile: store-selected: true store-fake-ip: true authentication: - Clash:view on your clash dashboard