Skip to content

Releases: vernesong/OpenClash

v0.46.086

26 May 00:31
Compare
Choose a tag to compare
v0.46.086 Pre-release
Pre-release

发布时间

  • 2025-05-26 08:10 GMT+0800

使用手册

注意事项

  • 请先安装好这些依赖:
#iptables
opkg update
opkg install bash iptables dnsmasq-full curl ca-bundle ipset ip-full iptables-mod-tproxy iptables-mod-extra ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
opkg install /tmp/openclash.ipk

apk update
apk add bash iptables dnsmasq-full curl ca-bundle ipset ip-full iptables-mod-tproxy iptables-mod-extra ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
apk add -q --force-overwrite --clean-protected --allow-untrusted /tmp/openclash.apk

#nftables
opkg update
opkg install bash dnsmasq-full curl ca-bundle ip-full ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
opkg install /tmp/openclash.ipk

apk update
apk add bash dnsmasq-full curl ca-bundle ip-full ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
apk add -q --force-overwrite --clean-protected --allow-untrusted /tmp/openclash.apk
  • 启动前请先在插件设置页面的版本更新标签下确认内核编译版本,您也可以手动下载 Clash内核 后解压到 /etc/openclash/core/文件夹,并将二进制文件命名为clash_meta

常见问题

  • 路由不建议开启IPV6和相关服务,目前反馈的网络连接问题多数与它有关。

连接异常时请按照此页步骤先进行检查,解决不了再反馈

  • 浏览器开启安全DNS,会导致分流异常,请关闭!
  • 部分软件会修改设备HOSTS,会导致分流异常,请注意检查!
  • 控制面板打开空白时请尝试刷新浏览器缓存
  • 默认代理路由本机流量,BT、PT下载等请尽量使用redir模式并注意进行流量规避(可在规则中将路由地址设置为直连)
  • 备份插件设置后可在配置文件管理页面上传压缩包进行还原

版本变化

  • 订阅信息展示的样式及格式修改
  • 日志页面日志展示形式的修改
  • 流媒体解锁检测功能缓存格式的修改
  • 插件更新页面版本检测展示后台逻辑的修改
  • 首页添加公告横幅
  • 已知错误和bug的修复

Full Changelog: v0.46.079...v0.46.086

v0.46.079

05 Mar 13:44
Compare
Choose a tag to compare
v0.46.079 Pre-release
Pre-release

发布时间

  • 2025-03-05 21:40 GMT+0800

使用手册

注意事项

  • 请先安装好这些依赖:
#iptables
opkg update
opkg install bash iptables dnsmasq-full curl ca-bundle ipset ip-full iptables-mod-tproxy iptables-mod-extra ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
opkg install /tmp/openclash.ipk

apk update
apk add bash iptables dnsmasq-full curl ca-bundle ipset ip-full iptables-mod-tproxy iptables-mod-extra ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
apk add -q --force-overwrite --clean-protected --allow-untrusted /tmp/openclash.apk

#nftables
opkg update
opkg install bash dnsmasq-full curl ca-bundle ip-full ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
opkg install /tmp/openclash.ipk

apk update
apk add bash dnsmasq-full curl ca-bundle ip-full ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
apk add -q --force-overwrite --clean-protected --allow-untrusted /tmp/openclash.apk
  • 启动前请先在插件设置页面的版本更新标签下确认内核编译版本,您也可以手动下载 Clash内核 后解压到 /etc/openclash/core/文件夹,并将二进制文件命名为clash_meta

常见问题

  • 路由不建议开启IPV6和相关服务,目前反馈的网络连接问题多数与它有关。

连接异常时请按照此页步骤先进行检查,解决不了再反馈

  • 浏览器开启安全DNS,会导致分流异常,请关闭!
  • 部分软件会修改设备HOSTS,会导致分流异常,请注意检查!
  • 控制面板打开空白时请尝试刷新浏览器缓存
  • 默认代理路由本机流量,BT、PT下载等请尽量使用redir模式并注意进行流量规避(可在规则中将路由地址设置为直连)
  • 备份插件设置后可在配置文件管理页面上传压缩包进行还原

版本变化

  • 修复已知问题

mihomo with smart group

20 Apr 14:40
Compare
Choose a tag to compare
Pre-release

Source: https://github.com/vernesong/mihomo

Download: https://github.com/vernesong/mihomo/releases

Weight Calculation Logic

Core Weight Factors

  1. Connection Success Rate

    • Tracks successful and failed connection attempts for each node
    • Higher success rates yield higher weights
    • Recent failures have greater impact on weight reduction
  2. Connection Performance Metrics

    • Connection establishment time
    • Network latency
    • Lower values in both metrics result in higher weights
  3. Connection Usage Statistics

    • Total upload traffic
    • Total download traffic
    • Average connection duration
    • High-throughput and stable connections receive weight bonuses
  4. Time Decay Factor

    • Based on the last usage timestamp
    • Gradually reduces weight for nodes unused over extended periods
    • Ensures fresh performance data has higher relevance
  5. Connection Type Differentiation

    • Different scoring rules for UDP versus TCP connections
    • Specialized handling for long connections versus short connections

Weight Calculation Process

  1. Base Weight Calculation

    • Combines all metrics into a normalized base weight value
    • Higher weights indicate better expected performance
  2. Policy Priority Adjustment

    • Applies configurable priority factors based on node name patterns
    • Allows manual boosting of specific node groups or providers
    • Uses regex matching for flexible configuration
  3. ASN-Specific Weights

    • Maintains separate weight tables for different ASN networks
    • Allows a single node to have different weights across different networks
    • Optimizes selection based on destination network characteristics
  4. Weight Update Smoothing

    • Uses weighted averaging to update connection metrics
    • Prevents dramatic fluctuations from anomalous connections
    • Gives higher weight to unusually high connection durations (3:1 ratio)
  5. Weight Quality Monitoring

    • Detects significant weight degradation (>30%)
    • Triggers cache cleanup for affected nodes
    • Forces re-evaluation to prevent persistent poor selections

Node Selection Logic

Selection Priority Hierarchy

  1. Domain-Based Matching

    • Prioritizes select based on historical performance for specific domains/IPs
    • Optimizes node selection for frequently visited websites
    • Falls back to broader matching patterns when specific data is unavailable
  2. ASN-Based Matching

    • Select based on ASN information when available if Domain-Based Matching failed
    • Uses ASN-specific historical performance data
    • Identifies optimal nodes for specific network providers
  3. Cache Query Sequence

    • First checks real-time resolution cache
    • Then examines pre-calculated cache
    • Finally performs real-time weight calculation
    • Balances speed and accuracy in selection process
  4. Fallback Mechanism

    • Reverts to round-robin strategy when historical data is insufficient
    • Prioritizes reliability over performance during network anomalies
    • Implements automatic retry with different nodes upon connection failures

Caching and Pre-calculation System

  1. Multi-level Caching

    • Memory LRU cache for hot spot data with fastest access
    • Persistent storage for comprehensive historical data
    • Tiered eviction policies based on access frequency
  2. Pre-calculation Mechanism

    • Periodically pre-calculates optimal nodes for frequently accessed domains and ASNs
    • Incorporates random exploration to avoid local optimization traps
    • Balances between exploitation of known good nodes and exploration of alternatives
  3. Data Management

    • Regular pruning of expired data (14-day retention period)
    • Dynamic adjustment of cache parameters based on system memory
    • Batch processing for efficient updates and reduced system overhead

Node Status Management

  1. Failure Handling

    • Tracks consecutive failures and failure timestamps
    • Degrades nodes exceeding failure thresholds
    • Applies weighted penalties proportional to failure severity
  2. Recovery Mechanism

    • Implements phased automatic recovery for degraded nodes
    • Gradually restores weight at 5, 10, 15, and 30-minute intervals
    • Prevents permanent penalties for temporary network issues

Usage:

proxy-groups:
- name: Smart Group
  type: smart
  # policy-priority: <1 means lower priority, >1 means higher priority, the default is 1
  policy-priority: "Premium:0.9;SG:1.3" 
  # uselightgbm: use LightGBM model predict weight
  uselightgbm: false
  # collectdata: collect datas for model training
  collectdata: false
  # strategy: 'sticky-sessions' or 'round-robin', not support 'consistent-hashing'
  # the default is 'sticky-sessions' with more stable&smoothly nodes switch logic when datas collecting
  strategy: sticky-sessions
  ...

Api:

#Show proxy weight
curl -H 'Authorization: Bearer ${secret}' -X GET http://${controller-api}/group/${groupname}/weights

#Flush cache data
curl -H 'Authorization: Bearer ${secret}' -X POST http://${controller-api}/cache/smart/flush
curl -H 'Authorization: Bearer ${secret}' -X POST http://${controller-api}/cache/smart/flush/${configname}

Changelog

Date: 2025-5-27

  • Performance improvements and bug fixes
  • LightGBM for weight prediction (option: uselightgbm: true),need Model.bin file exist HomeDir (.config/mihomo/Model.bin) or use in OpenClash: (/etc/openclash/Model.bin)
  • Data collection function to facilitate for yourself-training of weight prediction models (option: collectdata: true), path in HomeDir (.config/mihomo/smart_weight_data.csv) or (/etc/openclash/smart_weight_data.csv) in OpenClash
  • If you need to train the model yourself, you could use feature transforms and must training by LightGBM version 3.3.5

Date: 2025-5-14

  • Allow users to manually specify the current node of group until healthchek or reload (the group's now info default is Smart - Select)
  • Improve the tracker's lookup performance by using uuid to avoid failing to get traffic information
  • Adjust the node ranking ratio to 2:5:3
  • Adjust the weighting algorithm to classify connections into four scenarios: interactive, streaming, transfer, and web and set up different calculation parameters

Date: 2025-5-10

  • Performance improvements and bug fixes

Date: 2025-5-1

  • Adjust the time of weight calculation until after the end of each connection
  • Weight calculation adds traffic and connection duration factors
  • When ASN information exists for a connection address, calculate and save node weights for the ASN information and backup the use of ASN weight information to select the optimal node for a connection
  • Different algorithms are used for short, medium, and long connections in calculating the weights to improve the reliability of the node selection results in various scenarios

Date: 2025-4-24

  • add option policy-priority : <1 means lower priority, >1 means higher priority, the default is 1.

v0.46.075

15 Feb 02:23
Compare
Choose a tag to compare
v0.46.075 Pre-release
Pre-release

发布时间

  • 2025-02-15 10:15 GMT+0800

使用手册

注意事项

  • 请先安装好这些依赖:
#iptables
opkg update
opkg install bash iptables dnsmasq-full curl ca-bundle ipset ip-full iptables-mod-tproxy iptables-mod-extra ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
opkg install /tmp/openclash.ipk

apk update
apk add bash iptables dnsmasq-full curl ca-bundle ipset ip-full iptables-mod-tproxy iptables-mod-extra ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
apk add -q --force-overwrite --clean-protected --allow-untrusted /tmp/openclash.apk

#nftables
opkg update
opkg install bash dnsmasq-full curl ca-bundle ip-full ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
opkg install /tmp/openclash.ipk

apk update
apk add bash dnsmasq-full curl ca-bundle ip-full ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
apk add -q --force-overwrite --clean-protected --allow-untrusted /tmp/openclash.apk
  • 启动前请先在插件设置页面的版本更新标签下确认内核编译版本,您也可以手动下载 Clash内核 后解压到 /etc/openclash/core/文件夹,并将二进制文件命名为clash_meta

常见问题

  • 路由不建议开启IPV6和相关服务,目前反馈的网络连接问题多数与它有关。

连接异常时请按照此页步骤先进行检查,解决不了再反馈

  • 浏览器开启安全DNS,会导致分流异常,请关闭!
  • 部分软件会修改设备HOSTS,会导致分流异常,请注意检查!
  • 控制面板打开空白时请尝试刷新浏览器缓存
  • 默认代理路由本机流量,BT、PT下载等请尽量使用redir模式并注意进行流量规避(可在规则中将路由地址设置为直连)
  • 备份插件设置后可在配置文件管理页面上传压缩包进行还原

版本变化

  • 修复已知问题
  • 夜间模式下的样式调整
  • 每个配置文件添加一个单独的订阅更新按钮
  • Zashboard 控制面板
  • TCP 53 端口 DNS 劫持
  • 移除 coreutils coreutils-nohup libcap libcap-bin 依赖,更改ca-certificate依赖为大多数固件默认的ca-bundle
  • 修改默认的Chnroute格式,首次安装时进行本地转换,减少首次启动因格式问题导致的下载问题
  • 覆写设置-自定义规则添加前进行代理是否存在的检查,防止因切换不同配置文件造成启动错误
  • 添加选项-禁用 quic-go GSO 支持,避免固件 Linux 核心版本在 6.6 以上时遇到 quic-go 的 UDP 连接问题
  • 本机代理启用时默认设置路由器本机的udp代理

Full Changelog: v0.46.064...v0.46.075

v0.46.064

31 Dec 10:09
Compare
Choose a tag to compare
v0.46.064 Pre-release
Pre-release

发布时间

  • 2024-12-31 18:10 GMT+0800

使用手册

注意事项

  • 请先安装好这些依赖:
#iptables
opkg update
opkg install coreutils-nohup bash iptables dnsmasq-full curl ca-certificates ipset ip-full iptables-mod-tproxy iptables-mod-extra libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base

apk update
apk add coreutils-nohup bash iptables dnsmasq-full curl ca-certificates ipset ip-full iptables-mod-tproxy iptables-mod-extra libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base

#nftables
opkg update
opkg install coreutils-nohup bash dnsmasq-full curl ca-certificates ip-full libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base

apk update
apk add coreutils-nohup bash dnsmasq-full curl ca-certificates ip-full libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
  • 启动前请先在插件设置页面的版本更新标签下确认内核编译版本,您也可以手动下载 Clash内核 后解压到 /etc/openclash/core/文件夹,并将二进制文件命名为clash_meta

常见问题

  • 路由不建议开启IPV6和相关服务,目前反馈的网络连接问题多数与它有关。

连接异常时请按照此页步骤先进行检查,解决不了再反馈

  • 浏览器开启安全DNS,会导致分流异常,请关闭!
  • 部分软件会修改设备HOSTS,会导致分流异常,请注意检查!
  • 控制面板打开空白时请尝试刷新浏览器缓存
  • 默认代理路由本机流量,BT、PT下载等请尽量使用redir模式并注意进行流量规避(可在规则中将路由地址设置为直连)
  • 备份插件设置后可在配置文件管理页面上传压缩包进行还原

版本变化

  • 修复已知问题
  • 启动速度优化
  • 更加严格的来源流量控制
  • 适配apk安装包和最新版本OpenWRT
  • 默认添加tcp-keep-alive和tcp-keep-alive选项的值
  • 调整订阅流量信息展示的逻辑
  • 开发者选项的覆写增加更多demo

New Contributors

Full Changelog: v0.46.050-beta...v0.46.064

v0.46.050-beta

09 Nov 11:30
Compare
Choose a tag to compare
v0.46.050-beta Pre-release
Pre-release

发布时间

  • 2024-11-09 19:30 GMT+0800

使用手册

注意事项

  • 请先安装好这些依赖:
#iptables
opkg update
opkg install coreutils-nohup bash iptables dnsmasq-full curl ca-certificates ipset ip-full iptables-mod-tproxy iptables-mod-extra libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
#nftables
opkg update
opkg install coreutils-nohup bash dnsmasq-full curl ca-certificates ip-full libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
  • 启动前请先在插件设置页面的版本更新标签下确认内核编译版本,您也可以手动下载 Clash内核 后解压到 /etc/openclash/core/文件夹,并将二进制文件命名为clash_meta

常见问题

  • 路由不建议开启IPV6和相关服务,目前反馈的网络连接问题多数与它有关。

连接异常时请按照此页步骤先进行检查,解决不了再反馈

  • 浏览器开启安全DNS,会导致分流异常,请关闭!
  • 部分软件会修改设备HOSTS,会导致分流异常,请注意检查!
  • 控制面板打开空白时请尝试刷新浏览器缓存
  • 默认代理路由本机流量,BT、PT下载等请尽量使用redir模式并注意进行流量规避(可在规则中将路由地址设置为直连)
  • 备份插件设置后可在配置文件管理页面上传压缩包进行还原

版本变化

  • 修复已知问题
  • ruby运行速度优化
  • 合并sniffer的自定义设置
  • 添加 ipv6 mix mode
  • 移除tcp-keep-alive选项并默认关闭go的tcp-keep-alive控制

Full Changelog: v0.46.033-beta...v0.46.050-beta

v0.46.033-beta

23 Sep 16:23
Compare
Choose a tag to compare
v0.46.033-beta Pre-release
Pre-release

发布时间

  • 2024-09-24 00:20 GMT+0800

使用手册

注意事项

  • 请先安装好这些依赖:
#iptables
opkg update
opkg install coreutils-nohup bash iptables dnsmasq-full curl ca-certificates ipset ip-full iptables-mod-tproxy iptables-mod-extra libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
#nftables
opkg update
opkg install coreutils-nohup bash dnsmasq-full curl ca-certificates ipset ip-full libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
  • 启动前请先在插件设置页面的版本更新标签下确认内核编译版本,您也可以手动下载 Clash内核 后解压到 /etc/openclash/core/文件夹,并将二进制文件命名为clash_meta

常见问题

  • 路由不建议开启IPV6和相关服务,目前反馈的网络连接问题多数与它有关。

连接异常时请按照此页步骤先进行检查,解决不了再反馈

  • 浏览器开启安全DNS,会导致分流异常,请关闭!
  • 部分软件会修改设备HOSTS,会导致分流异常,请注意检查!
  • 控制面板打开空白时请尝试刷新浏览器缓存
  • 默认代理路由本机流量,BT、PT下载等请尽量使用redir模式并注意进行流量规避(可在规则中将路由地址设置为直连)
  • 备份插件设置后可在配置文件管理页面上传压缩包进行还原

版本变化

  • 修复已知问题

Full Changelog: v0.46.031-beta...v0.46.033-beta

v0.46.031-beta

19 Sep 15:16
Compare
Choose a tag to compare
v0.46.031-beta Pre-release
Pre-release

发布时间

  • 2024-09-19 23:15 GMT+0800

使用手册

注意事项

  • 请先安装好这些依赖:
#iptables
opkg update
opkg install coreutils-nohup bash iptables dnsmasq-full curl ca-certificates ipset ip-full iptables-mod-tproxy iptables-mod-extra libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
#nftables
opkg update
opkg install coreutils-nohup bash dnsmasq-full curl ca-certificates ipset ip-full libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
  • 启动前请先在插件设置页面的版本更新标签下确认内核编译版本,您也可以手动下载 Clash内核 后解压到 /etc/openclash/core/文件夹,并将二进制文件命名为clash_meta

常见问题

  • 路由不建议开启IPV6和相关服务,目前反馈的网络连接问题多数与它有关。

连接异常时请按照此页步骤先进行检查,解决不了再反馈

  • 浏览器开启安全DNS,会导致分流异常,请关闭!
  • 部分软件会修改设备HOSTS,会导致分流异常,请注意检查!
  • 控制面板打开空白时请尝试刷新浏览器缓存
  • 默认代理路由本机流量,BT、PT下载等请尽量使用redir模式并注意进行流量规避(可在规则中将路由地址设置为直连)
  • 备份插件设置后可在配置文件管理页面上传压缩包进行还原

版本变化

  • 移除ConnersHua规则的支持 Delete ConnersHua rules如在规则附加中使用了相关规则请进行更换,否则会启动失败
  • 修复IPv6的一些相关问题,以及绕过大陆黑名单无法生效的问题
  • 移除Dev和TUN内核的支持 chore: remove dev&tun core support
  • 绕过大陆功能改用内核的fake-ip-filter功能实现,现在可以在fake-ip模式下更快的启用,且支持DNS模式为防火墙劫持时启用 chore: use geosite in fake-ip-filter for china ip bypass
  • fake-ip-filter 支持切换黑白名单模式,可以更灵活的控制DNS返回realip add 'fake-ip-filter-mode' in 'dns'
  • 为流媒体增强选项的自动解锁检测功能增加持久化缓存,解锁数据缓存完成后,可以在解锁失效时更加快速的完成同类型节点的切换 feat: add cache for streaming unlock
  • 自定义DNS中为DOH增加ECS选项
  • 移除覆写设置中DNS选项的Fallback DNS代理选项,变更为遵循规则(respect-rule)配置,启用前请确保规则的正确分流
  • 移除一些过时的功能
  • 修复其他已知问题

New Contributors

Full Changelog: v0.46.014-beta...v0.46.031-beta

v0.46.014-beta

10 Jun 02:49
Compare
Choose a tag to compare
v0.46.014-beta Pre-release
Pre-release

发布时间

  • 2024-06-10 10:50 GMT+0800

使用手册

注意事项

  • 请先安装好这些依赖:
#iptables
opkg update
opkg install coreutils-nohup bash iptables dnsmasq-full curl ca-certificates ipset ip-full iptables-mod-tproxy iptables-mod-extra libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
#nftables
opkg update
opkg install coreutils-nohup bash dnsmasq-full curl ca-certificates ipset ip-full libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
  • 启动前请先在插件设置页面的版本更新标签下确认内核编译版本,您也可以手动下载 Clash内核 后解压到 /etc/openclash/core/文件夹

常见问题

  • 路由不建议开启IPV6和相关服务,目前反馈的网络连接问题多数与它有关。

连接异常时请按照此页步骤先进行检查,解决不了再反馈

  • 浏览器开启安全DNS,会导致分流异常,请关闭!
  • 部分软件会修改设备HOSTS,会导致分流异常,请注意检查!
  • 控制面板打开空白时请尝试刷新浏览器缓存
  • 默认代理路由本机流量,BT、PT下载等请尽量使用redir模式并注意进行流量规避(可在规则中将路由地址设置为直连)
  • 备份插件设置后可在配置文件管理页面上传压缩包进行还原

版本变化

  • 修复已知问题

Full Changelog: v0.46.011-beta...v0.46.014-beta

v0.46.011-beta

18 May 11:57
Compare
Choose a tag to compare
v0.46.011-beta Pre-release
Pre-release

发布时间

  • 2024-05-18 20:00 GMT+0800

使用手册

注意事项

  • 请先安装好这些依赖:
#iptables
opkg update
opkg install coreutils-nohup bash iptables dnsmasq-full curl ca-certificates ipset ip-full iptables-mod-tproxy iptables-mod-extra libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
#nftables
opkg update
opkg install coreutils-nohup bash dnsmasq-full curl ca-certificates ipset ip-full libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
  • 启动前请先在插件设置页面的版本更新标签下确认内核编译版本,您也可以手动下载 Clash内核 后解压到 /etc/openclash/core/文件夹

常见问题

  • 路由不建议开启IPV6和相关服务,目前反馈的网络连接问题多数与它有关。

连接异常时请按照此页步骤先进行检查,解决不了再反馈

  • 浏览器开启安全DNS,会导致分流异常,请关闭!
  • 部分软件会修改设备HOSTS,会导致分流异常,请注意检查!
  • 控制面板打开空白时请尝试刷新浏览器缓存
  • 默认代理路由本机流量,BT、PT下载等请尽量使用redir模式并注意进行流量规避(可在规则中将路由地址设置为直连)
  • 备份插件设置后可在配置文件管理页面上传压缩包进行还原

版本变化

  • 修复已知问题
  • 在插件安装后和更新页面添加内核cdn下载选项
    image
  • 增加指定WAN及LAN接口的选项,防止仅允许内网和获取LAN口IP功能无法正常工作
    image
  • 不再添加UTUN接口,防止对系统造成过多影响
  • add Port Hopping by @zxlhhyccc in #3792
  • Fix the protocol that exists in the configuration file when the proto… by @zxlhhyccc in #3794
  • IPv6 support for dns debugging and skip proxy address feature by @snachx in #3801
  • fix add_utun_firewall_zone by @bcseputetto in #3802
  • luci-app-openclash: Update translate by @zxlhhyccc in #3807
  • Fixed an issue with the official latest master branch not working. by @zxlhhyccc in #3853
  • config: readjust the fallback group by @shendageasw in #3872

New Contributors

Full Changelog: v0.46.003-beta...v0.46.011-beta