OpenClash详解

1,插件设置  -   版本更新

2.模式选择

OpenClash详解

流量控制(除勾选项,未标注勾选均为默认设置)

aaef63914932ac83703173ac0adbe6f9

 

外部控制 -管理页面登录密钥(设置面板密码)

 

 

  • 第三方规则订阅(可选)
  • 开发者选项:
    #放到 openClash-插件设置-开发者选项 内:
    
    #!/bin/sh  
    . /usr/share/openclash/log.sh  
    . /lib/functions.sh  
    # This script is called by /etc/init.d/openclash  
    # Add your custom firewall rules here, they will be added after the end of the OpenClash iptables rules  
    LOG_OUT "Tip: Start Add Custom Firewall Rules..."
    
    # 以下是广告过滤规则拉取脚本  
    LOG_OUT "拉取 anti-AD 广告过滤规则…"  
    curl -s https://anti-ad.net/anti-ad-for-dnsmasq.conf -o /tmp/dnsmasq.d/anti-ad-for-dnsmasq.conf  
    # 广告过滤规则拉取脚本结束
    
    # 以下是 GitHub520 加速规则拉取脚本  
    # LOG_OUT "拉取 GitHub520 加速规则…"  
    # sed -i '/# GitHub520 Host Start/,/# GitHub520 Host End/d' /etc/hosts  
    # curl https://raw.hellogithub.com/hosts >> /etc/hosts  
    # sed -i '/^$/d' /etc/hosts  
    # sed -i '/!/d' /etc/hosts  
    # GitHub520 加速规则拉取脚本结束
    
    # 清理 DNS 缓存  
    LOG_OUT "清理 DNS 缓存…"  
    /etc/init.d/dnsmasq reload
    
    exit 0
  • 覆写设置
  • f1641050b2df0e19ac67f2365f0af619

覆写设置-dns设置

覆写设置-Meta设置

8bbc0651f3599d9965c57aa202b11c1c

配置订阅 - 编辑配置文件订阅信息

691954d05352b471fc80dbf48b80fd45
392559d84422f71b4baf01d22c7d7c7a
自定义模版地址:
https://raw.githubusercontent.com/liandu2024/clash/refs/heads/main/Clash-LIAN.ini
me:https://raw.githubusercontent.com/fu5502/clash/refs/heads/main/Clash-LIAN.ini
手动维护代理list: https://raw.githubusercontent.com/fu5502/clash/refs/heads/main/Global.list
手动直连list:https://raw.githubusercontent.com/fu5502/clash/refs/heads/main/Direct.list (不过默认黑名单模式的话,直接代理列表的 其他默认都是国内,so,可以不加

更多 https://github.com/blackmatrix7/ios_rule_script/tree/master/rule/Clash

 

PT直连:

https://github.com/blackmatrix7/ios_rule_script/blob/master/rule/Clash/PrivateTracker/PrivateTracker.list

THE END