Skip to content

This repo contains OpenClash, Clash for Android and Stash for iOS rules provider also Shadowrocket for iOS configurations.

License

Notifications You must be signed in to change notification settings

hillz2/clashrules

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rule Providers for Clash (OpenWrt, iOS, Windows, Linux, Android)

Aplikasi yang digunakan:


Repository ini berisi rule provider dari beberapa sumber yang sering dipakai di Indonesia, digunakan untuk pisah trafik koneksi. Rule yang tersedia saat ini bisa dilihat disini

HARAP MEMBACA DAN MEMAHAMI TIAP BARIS YANG ADA, AGAR KESALAHAN SEPELE BISA DIATASI SENDIRI !

Cara Pakai

  1. Ubah file config.yaml yang kamu punya.

  2. Salin script dibawah ini, lalu letakkan di bawah barisan proxy_groups (baris dibawah ini hanya contoh, selebihnya silahkan improvisasi sendiri)

    # Rule Providers
    # Check time conversion here https://www.timecalculator.net/hours-to-seconds
    rule-providers:
      XL_Akrab:
        type: http
        behavior: classical
        path: "./rule_provider/XL_Akrab.yaml"
        url: https://raw.githubusercontent.com/helmiau/clashrules/main/rule_provider/XL_Akrab.yaml
        interval: 86400 # Update rules every 24 hours
      Microsoft_Teams:
        type: http
        behavior: classical
        path: "./rule_provider/Microsoft_Teams.yaml"
        url: https://raw.githubusercontent.com/helmiau/clashrules/main/rule_provider/Microsoft_Teams.yaml
        interval: 86400 # Update rules every 24 hours
    rules:
    # Rules before match global
    - RULE-SET,XL_Akrab,DIRECT
    - RULE-SET,Microsoft_Teams,DIRECT
    # Listen all connections to GLOBAL proxy
    - MATCH,GLOBAL
    
  3. Buka OpenClash > Settings > General Settings lalu atur seperti contoh di bawah ini

    image

  4. Lalu tekan tombol ENABLE OPENCLASH di bagian bawah halaman Overview OpenClash

Credits

About

This repo contains OpenClash, Clash for Android and Stash for iOS rules provider also Shadowrocket for iOS configurations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published