Giter Site home page Giter Site logo

vernesong / openclash Goto Github PK

View Code? Open in Web Editor NEW
15.0K 149.0 2.9K 34.91 GB

A Clash Client For OpenWrt

License: MIT License

Makefile 0.48% Shell 31.41% Lua 19.66% HTML 13.04% C 0.72% JavaScript 33.52% CSS 1.16% Ruby 0.01%
clash openwrt openclash luci shadowsocks v2ray vmess snell

openclash's Introduction

Clash
OpenClash

本插件是一个可运行在 OpenWrt 上的 Clash 客户端

兼容 Shadowsocks、ShadowsocksR、Vmess、Trojan、Snell 等协议,根据灵活的规则配置实现策略代理

- 感谢 frainzy1477 ,本插件基于 Luci For Clash 进行二次开发 -

使用手册

下载地址

依赖

  • luci
  • luci-base
  • dnsmasq-full
  • coreutils
  • coreutils-nohup
  • bash
  • curl
  • ca-certificates
  • ipset
  • ip-full
  • libcap
  • libcap-bin
  • ruby
  • ruby-yaml
  • unzip
  • iptables(iptables)
  • kmod-ipt-nat(iptables)
  • iptables-mod-tproxy(iptables)
  • iptables-mod-extra(iptables)
  • kmod-tun(TUN模式)
  • luci-compat(Luci >= 19.07)
  • ip6tables-mod-nat(iptables-ipv6)
  • kmod-inet-diag(PROCESS-NAME)
  • kmod-nft-tproxy(Firewall4)

编译

从 OpenWrt 的 SDK 编译

# 解压下载好的 SDK
curl -SLk --connect-timeout 30 --retry 2 "https://archive.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/OpenWrt-SDK-15.05.1-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2" -o "/tmp/SDK.tar.bz2"
cd \tmp
tar xjf SDK.tar.bz2
cd OpenWrt-SDK-15.05.1-*

# Clone 项目
mkdir package/luci-app-openclash
cd package/luci-app-openclash
git init
git remote add -f origin https://github.com/vernesong/OpenClash.git
git config core.sparsecheckout true
echo "luci-app-openclash" >> .git/info/sparse-checkout
git pull --depth 1 origin master
git branch --set-upstream-to=origin/master master

# 编译 po2lmo (如果有po2lmo可跳过)
pushd luci-app-openclash/tools/po2lmo
make && sudo make install
popd

# 开始编译

# 先回退到SDK主目录
cd ../..
make package/luci-app-openclash/luci-app-openclash/compile V=99

# IPK文件位置
./bin/ar71xx/packages/base/luci-app-openclash_*-beta_all.ipk
# 同步源码
cd package/luci-app-openclash/luci-app-openclash
git pull

# 您也可以直接拷贝 `luci-app-openclash` 文件夹至其他 `OpenWrt` 项目的 `Package` 目录下随固件编译

make menuconfig
# 选择要编译的包 LuCI -> Applications -> luci-app-openclash

许可

请作者喝杯咖啡

  • PayPal

  • USDT-TRC20

  • 比特币-BTC

  • 以太币-ETH

预览

  • 运行状态

  • 全局设置

  • 服务器&策略组

  • 规则&策略组

  • 配置文件订阅

  • 配置文件管理

  • 运行日志

openclash's People

Contributors

1715173329 avatar a76yyyy avatar adminidor avatar alecthw avatar cnsilvan avatar cnzgray avatar ekkog avatar forestl18 avatar github-actions[bot] avatar hill-98 avatar iprofessorz avatar kooritea avatar magic-xin avatar metco2 avatar msylgj avatar newrichard avatar ohsc avatar oldtaoge avatar r3pl4c3r avatar septrum101 avatar simonsmh avatar sukkaw avatar tete1030 avatar tioachan avatar ttimasdf avatar vernesong avatar wey-gu avatar xinsss avatar yangliu avatar zxlhhyccc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openclash's Issues

安装后无法运行

错误提示 nohup: failed to run command '/etc/openclash/clash': No such file or directory
固件是Pandora

luci设置定时任务后,系统日志里报错。

今天看系统日志发现有
Mon Jul 29 10:13:00 2019 cron.err crond[23317]: user root: parse error at 7
用 crontab -l看了下,里面有

root@Openwrt:/koolshare/scripts# crontab -l

0 0 * * 7 /usr/share/openclash/openclash.sh
0 0 * * 1 /usr/share/openclash/openclash_ipdb.sh

这条目最后的 7 是前台luci设置了“周日”的两个定时任务,但其实openwrt里面最后这个字段支持是 0-6(0代表周日)

请确认。

订阅V2ray Bug

  • 在订阅V2ray协议的地址,检查并更新订阅后Openclash自动停止运行(未运行),实测使用Clash协议的地址正常
    image

image

  • 订阅的地址和手动填写的✈️地址在控制面板没有同时显示,我该在哪里设置才能同时显示呢?
    image

具体:开启 订阅的地址 或 手动填写的✈️地址 逻辑是:点击更新订阅就是订阅地址自动开启,点击服务器&策略组管理下的应用配置就是手动填写的开启;所以如何同时开启然后再能在控制面板都显示?


  • 控制面板里面日志为空,而luci-app-clash日志是正常的

0.33.4 的更新过程存在比较严重的bug(疑),并且更新后dns解析失败

C:\Users\*>nslookup t.cn
服务器:  UnKnown
Address:  192.168.100.10

*** UnKnown 找不到 t.cn: Query refused

C:\Users\*>nslookup t.cn
服务器:  UnKnown
Address:  192.168.100.10

*** UnKnown 找不到 t.cn: Query refused

openwrt版本用了两个,A版本是OpenWrt R9.8.5(内核 4.19.62),另一个版本老一点R9.7.x(回滚掉了没抓住)。
192.168.100.10是旁路由的地址。
在之前版本中,从0.33.2-0.33.3,配置没有动过,运行正常,刚刚更新0.33.4以后网页无法打开.(配置等见图)

==============
另外刚刚在两个openwrt版本之间测试发现,在A版本,把ipk文件放到/tmp/upload执行opkg install直接安装0.33.4,会把/etc/openclash/clash干掉(之后在luci中点击启动会在线下载),在另一个版本中,把ipk放到/etc/openclash下install,当前整个目录被删除。
2
3
4
5
1

Watchdog Daemon Process Issues

Constantly showing

OpenClash 守护程序 NOT RUNNING

While the core itself is running normally.

A thing to note was when installing the ipk there was a prompt of

sh: bad number

displayed during package configuration. Don't know whether it is related.

So, what is the path to the daemon? I think I'd first to check whether the file exists.

FYI I'm running it on a GL.iNet B1300 router w/ linux-armv7 kernel installed.

Thanks,

重启后能否自动选择之前的节点

查询日志发现自动更新geoip后会进行一次重启,这样手动选择的节点就会被重置,能否增加一个类似win版本的自动选择功能呢?

Fake-ip 模式防火墙端口转发失效

开启 Fake-ip 模式后,外网无法访问已设置好端口转发的内网设备,会显示无法连接或连接已重置等,Redir-Host 模式无此问题。

Can't find www.google.com: No answer

兼容模式

➜  ~ nslookup www.google.com
Server:		10.2.4.1
Address:	10.2.4.1#53

Non-authoritative answer:
*** Can't find www.google.com: No answer

➜  ~ nslookup www.google.com.hk
Server:		10.2.4.1
Address:	10.2.4.1#53

Non-authoritative answer:
Name:	www.google.com.hk
Address: 69.171.234.18

日志没有任何报错

订阅多个地址

image

  • 这里可以添加多个订阅地址吗?就像下面这个Lean的ssrplus+类似
    image

  • 同时自动识别订阅协议那就更好了,这样就能订阅不同协议的飞机场

  • 订阅地址的服务器在哪里可见?

KoolShare LEDE 兼容问题

  • 配置好后,若需要更新托管配置,修改托管参数并点击更新后貌似仅进行了重启
  • 定时更新托管,规则,GEOIP 能否正常工作未知

重启openclash时候有时会卡住

在开机之后自动启动的openclash 100%会启动成功,只是重启openclash的话有很大机率会卡住,我用的是koolshare那个lede,请问是这个系统魔改的原因么?

能力有限,只能提供一些信息了:stop的第一步: 删除 OpenClash 防火墙规则...和第五步:删除 OpenClash 残留文件...,start的第七步: 设置 OpenClash 防火墙规则...经常会卡住。

比如卡在删除 OpenClash 防火墙规则这步的时候,手动在ssh中输入/etc/init.d/firewall restart >/dev/null 2>&1也会卡住,所以推测可能是系统问题,请问这个有解决的办法么?

0.33.1-beta1 更新报错

报错信息如下:
Upgrading luci-app-openclash on root from 0.33.0-beta to 0.33.1-beta...
OpenClash Already Stop
Collected errors:

  • pkg_run_script: package "luci-app-openclash" preinst script returned status 1.
  • preinst_configure: Aborting installation of luci-app-openclash.
  • opkg_install_cmd: Cannot install package luci-app-openclash.

更新到0.34.3之后经常死机

更新到0.34.3之后经常死机,对应的clash版本号:v0.15.0-44-gb76737b。需要手动重新启动。
部分日志如下:
2019/09/18 09:11:57 http: Accept error: accept tcp 0.0.0.0:9090: accept4: too many open files; retrying in 1s
2019/09/18 09:11:58 http: Accept error: accept tcp 0.0.0.0:9090: accept4: too many open files; retrying in 1s
2019/09/18 09:11:59 http: Accept error: accept tcp 0.0.0.0:9090: accept4: too many open files; retrying in 1s
2019/09/18 09:12:00 http: Accept error: accept tcp 0.0.0.0:9090: accept4: too many open files; retrying in 1s
2019/09/18 09:12:01 http: Accept error: accept tcp 0.0.0.0:9090: accept4: too many open files; retrying in 1s
2019/09/18 09:12:02 http: Accept error: accept tcp 0.0.0.0:9090: accept4: too many open files; retrying in 1s
2019/09/18 09:12:03 http: Accept error: accept tcp 0.0.0.0:9090: accept4: too many open files; retrying in 1s
2019-09-18 17:12:04 OpenClash Start Successful

安装时报错,无法安装

假如依赖bash那真的太大了吧

$ ls luci-app-openclash_0.32.3-0_all.ipk
luci-app-openclash_0.32.3-0_all.ipk

$ opkg install luci-app-openclash_0.32.3-0_all.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-openclash:
 *      coreutils
 *      coreutils-nohup
 *      bash
 * opkg_install_cmd: Cannot install package luci-app-openclash.

$ opkg print-architecture
arch all 1
arch noarch 1
arch mipsel_24kc 10

自定义Hosts和Domain规则的问题

在redir-host模式下,自定义Hosts貌似并没有起作用,指定的域名没有走指定的ip。
另外,刚装上openclash的时候,DOMAIN规则是有效的,可以DIRECT,REJECT。但是,调了几次设置之后,不知道为何,DOMAIN规则不起作用了,在LOG里只有GEOIP, IP-CIDR, MATCH,没有DOMAIN相关的规则了,REJECT的DOMAIN并没有被BLOCK。看起来是连接被解析之后才进行规则判断,请问这是碰了什么设置吗?

回国规则问题

回国规则有几个问题,不需要走代理的**区ip一样走了回国代理,并且,把geoip cn 那条去除以后运行久了,国内很多地址都会走proxy

更新后,更新节点并筛选订阅,无法启动

更新后,更新节点并筛选订阅,无法启动
日志如下。查看过配置文件,Proxy字段为空,什么数据都没有。但是在服务器列表中确实是出现了相应筛选的服务器节点。
time="2019-10-13T06:33:36Z" level=fatal msg="Parse config error: ProxyGroup Proxy: key 'proxies' missing"
2019-10-13 14:33:36 OpenClash Can Not Start, Please Check The Error Info And Try Again
time="2019-10-13T06:35:21Z" level=fatal msg="Parse config error: ProxyGroup Proxy: key 'proxies' missing"
2019-10-13 14:35:21 OpenClash Can Not Start, Please Check The Error Info And Try Again

[bug report]即使不启用DNS劫持功能,openclash的启动脚本关闭时依然会重置dnsmasq配置

看了一下openclash的启动脚本,应该是588行附近少了一个检查是否开启了DNS劫持功能的判断

echo "第四步: 重启 Dnsmasq 程序..." >$START_LOG
    revert_dns
    /etc/init.d/dnsmasq restart >/dev/null 2>&1

如果不加判断,service openclash stop时就会无脑执行如下脚本:删除手动添加的自定义上游DNS、重新启用解析文件、恢复默认DNS缓存大小

revert_dns() {
   dns_port=$(uci get openclash.config.dns_port 2>/dev/null)
   uci del_list dhcp.@dnsmasq[0].server=127.0.0.1#"$dns_port" >/dev/null 2>&1
   uci set dhcp.@dnsmasq[0].resolvfile=/tmp/resolv.conf.auto
   uci set dhcp.@dnsmasq[0].noresolv=0
   uci delete dhcp.@dnsmasq[0].cachesize
   uci commit dhcp
   rm -rf /tmp/dnsmasq.d/dnsmasq_openclash.conf >/dev/null 2>&1
}

建议如同469行一样添加判断参数,以防止这种情况出现

change_dns "$enable_redirect_dns" "$disable_masq_cache"

关于V2RAY使用时候提示错误的UUID问题

你好,看到了你今天更新的版本,第一时间试用了一下,发现了一个关于UUID的问题,在上一个版本没有出现这样的问题(beta 3),如果有时间的话请帮忙解答,谢谢!

软件版本:

root@OpenWrt:~# uname -a
Linux OpenWrt 4.9.186 #0 SMP Mon Aug 5 05:11:18 2019 x86_64 GNU/Linux

root@OpenWrt:/etc/openclash# ./clash -v
Clash v0.15.0-19-g528fbd1 linux amd64 2019年 08月 02日 星期五 13:46:47 UTC

错误日志,更换多次UUID均提示UUID错误:

time="2019-08-07T14:37:38Z" level=fatal msg="Parse config error: Proxy [2]: uuid: incorrect UUID length: uuid"
2019-08-07 22:38:38 Watchdog: OpenClash Problem, Restart 
time="2019-08-07T14:38:41Z" level=fatal msg="Parse config error: Proxy [2]: uuid: incorrect UUID length: uuid"
2019-08-07 22:38:41 OpenClash Can Not Start, Try Use Backup Rules Start Again
2019-08-07 22:38:41 OpenClash Start Successful With Backup Rules Config, Please Check Or Update Other Rules And Retry
time="2019-08-07T14:38:44Z" level=fatal msg="Parse config error: Proxy [2]: uuid: incorrect UUID length: uuid"

Proxy的配置:

# shadowsocks
# The types of cipher are consistent with go-shadowsocks2
# support AEAD_AES_128_GCM AEAD_AES_192_GCM AEAD_AES_256_GCM AEAD_CHACHA20_POLY1305 AES-128-CTR AES-192-CTR AES-256-CTR AES-128-CFB AES-192-CFB AES-256-CFB CHACHA20-IETF XCHACHA20
# In addition to what go-shadowsocks2 supports, it also supports chacha20 rc4-md5 xchacha20-ietf-poly1305
- { name: "[email protected]", type: ss, server: x.x.x.x, port: 23334, cipher: AEAD_CHACHA20_POLY1305, password: "yyyyy", udp: true }

# vmess
# cipher support auto/aes-128-gcm/chacha20-poly1305/none
- { name: "[email protected]", type: vmess, server: x.x.x.x, port: 23333, uuid: 204725ca-bed1-4c8d-84a5-06cbbc8fab3a, alterId: 233, cipher: auto }

proxy group配置:

# url-test select which proxy will be used by benchmarking speed to a URL.
- { name: "auto", type: url-test, proxies: ["[email protected]", "[email protected]"], url: "http://www.gstatic.com/generate_204", interval: 300 }

# fallback select an available policy by priority. The availability is tested by accessing an URL, just like an auto url-test group.
- { name: "fallback-auto", type: fallback, proxies: ["[email protected]", "[email protected]"], url: "http://www.gstatic.com/generate_204", interval: 300 }

# load-balance: The request of the same eTLD will be dial on the same proxy.
- { name: "load-balance", type: load-balance, proxies: ["[email protected]", "[email protected]"], url: "http://www.gstatic.com/generate_204", interval: 300 }

偶尔有部分网址不能正常连接,切换代理模式后又正常

目前使用的是最新版本、内核、使用Fake-IP模式下,偶尔会出现某部分网站不能正常连接,比如可以正常连接YouTube、Google,但是Facebook却不能正常访问,然后把代理模式切回全局再改回规则模式下才恢复正常,初步排查规则节点dns设置正常(在cfw是可以正常连接上的,而之前cfw旧版也有类似情况出现过)

v0.34.6-beta 启动时,watchdog 未启动

更新v0.34.6-beta 后, watchdog显示未启动。
日志并没有关于watchdog的任何内容,
在路由中 查看进程也是没有watchdog的相关进程, 手动执行watchdog脚本 可以正常执行。

Cannot Start the Main Process

I can no longer start the service after upgraded to v0.34.5-beta. From the log:

time="2019-09-22T19:52:27Z" level=fatal msg="Parse config error: yaml: line 76: did not find expected key"
2019-09-22 19:52:22 OpenClash Can Not Start, Please Check The Error Info And Try Again

when using Fake-IP mode, and

time="2019-09-22T20:29:01Z" level=fatal msg="Parse config error: yaml: line 84: did not find expected key"
2019-09-22 20:28:58 OpenClash Can Not Start, Please Check The Error Info And Try Again

when in Redir-Host mode.

Don't know whether or not it is due to a misconfiguration I made. Similar symptom showed once when I added custom rules on v0.34.3-beta, yet a clean reinstall resolved the problem by then. While this time, no custom rules were added and the problem showed up. Reverted the router to factory and reinstalled and configured with minimum setting changes, the problem persisted.

FYI I'm using a subscription provided by DuangCloud and on a GL.iNet GL-B1300 router. The line pointed by the log seems to be a line of comment (starting with a #):

屏幕快照 2019-09-23 04 57 29

Fake-ip 模式下,电脑启动后会一直显示无法连接到 Internet

路由器下所有的设备均可正常连接外网,但是两台 Windows 设备在重启电脑后,网络图标均提示会一直显示无法连接到 Internet,但实际上是可以正常上网的及连接外网。

当重启 OpenClash 后,两台电脑才会恢复到正常的已联网图标。

路由器固件是 Lean Openwrt,配置文件中的端口及 DNS 设置如下:

port: 7890
socks-port: 7891
external-ui: "/usr/share/openclash/dashboard"
secret: '123456'
redir-port: 7892
allow-lan: true
mode: Rule
log-level: info
external-controller: 0.0.0.0:9090

dns:
  enable: true
  ipv6: false
  listen: 0.0.0.0:7874
  enhanced-mode: fake-ip
  nameserver:
    - 119.28.28.28
    - 119.29.29.29
    - 182.254.116.116

请问这个问题是 Clash 本体的问题,还是 OpenClash 的问题?谢谢~

NETFLIX显示代理,无法使用

K3 OpenWrt v2.8 beta6 By stones运行后NETFLIX显示代理,直接PC使用Clash for Windows或软路由用KoolClash OpenWrt/LEDE无问题,求解决

订阅更新失败

如题,在使用的时候出现订阅更新失败的情况,用windows版的可以更新成功。
20190928001823
QQ截图20190928002005

OpenWRT 最新版本的依赖递归问题

master 分支最新 commit, 各个 feed 也是最新, 删除 Makefile 里 +luci 后正常.

 π mevbu master ❯ make menuconfig
tmp/.config-package.in:71556:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:71556:	symbol PACKAGE_luci-app-openclash depends on PACKAGE_rpcd
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:955:	symbol PACKAGE_rpcd is selected by PACKAGE_attendedsysupgrade-common
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:7:	symbol PACKAGE_attendedsysupgrade-common is selected by PACKAGE_luci-app-attendedsysupgrade
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:71006:	symbol PACKAGE_luci-app-attendedsysupgrade depends on PACKAGE_uhttpd
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:112076:	symbol PACKAGE_uhttpd is selected by PACKAGE_luci
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:70607:	symbol PACKAGE_luci is selected by PACKAGE_luci-app-openclash


*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

Clash core的三点建议

对于 clash core 的三点建议:

  1. 把 clash core release 从当前的 OpenClash 转移到单独的 repositories
  2. clash core release 编译为 ipk 安装文件
  3. 增加PI的支持。比如:aarch64_cortex-a53_armv8;arm_v7_ras_pi.ipk 等

[feature request]UDP支持,UI界面的bypass客户端管理

image
您好开发者,请问这两项功能有增加的计划么?
UDP转发可以解决一部分游戏玩家的需求。

至于客户端ip管理,目前可以通过在自定义规则里加规则来解决bypass或者go through的需求,但是能不能考虑增加一个gui的选单,这样会不会优雅一点?

总之还是很感谢开发者的付出的,很勤勉的开发者,修复了许多日常使用发现的bug

可以提供旧版本的clash下载吗?

更新到0.34.3版本之后无法链接网络,原因不明,不知道是否和fallback-filter有关。想退回0.34.2版,但是找不到clash v0.15.0-32-g0d51877,可以提供一下吗?谢谢!

Google, Youtube 时断时连

发现一个问题,Google和Youtube经常出现打不开,ping不通的情况,手机谷歌商店无网络连接,但是不停地刷新一分钟左右之后可以连上Google和Youtube。过一两个小时之后又重复这个现象。当前网络是外网,关闭openclash访问Google和Youtube正常。

已经在Fake-IP黑名单加入了:
google.com
.google.com
youtube.com
.youtube.com

自定义DNS设为: 8.8.8.8

也在config.yml和自定义规则里都加入了

  • DOMAIN-SUFFIX,google.com,DIRECT
  • DOMAIN-KEYWORD,google,DIRECT
  • DOMAIN,google.com,DIRECT
  • DOMAIN-SUFFIX,youtube.com,DIRECT
  • DOMAIN-KEYWORD,youtube,DIRECT
  • DOMAIN,youtube.com,DIRECT

在config.yml还加入了

  • GEOIP,US,DIRECT

在这样的设置下,依然出现Google和Youtube经常出现打不开,ping不通的情况,但是不停地刷新一分钟左右之后可以连上Google和Youtube的现象。

请问是我的使用方法不正确吗?如果不正确,应该如何设置才可以解决这个问题?谢谢!

全局设置的每一个子页面都有相同的几个配置

全局设置的每一个子页面都有相同的几个配置:

设置自定义上游DNS服务器,在上方DNS设置中启用本功能后生效
设置SOCKS5/HTTP(S)认证信息
设置自定义规则,在上方规则设置中启用本功能后生效
设置自定义Hosts,仅在Redir-Host模式下生效(不会覆盖配置文件设置)

都是同一配置,不懂为什么需要重复?

编译进固件缺少运行权限

root@OpenWrt:~# /etc/init.d/openclash restart
-ash: /etc/init.d/openclash: Permission denied
root@OpenWrt:~# chmod +x /etc/init.d/openclash
root@OpenWrt:~# /etc/init.d/openclash restart
OpenClash Already Stop
nohup: appending output to ‘nohup.out’
nohup: failed to run command ‘/usr/share/openclash/openclash_watchdog.sh’: Permission denied

QBittorrent port and SRC-PORT Issue

Hi,

My qBittorrent listening port is 8999, and you can see the screenshot as below.

And also, I added - SRC-PORT, 8999, DIRECT to the top position of clash.yaml

However, according to the traffic record of the ✈service provider's background interface, it shows that my traffic is being consumed in the BT download.

I checked the log information of Clash, and the domain name of the related tracker is using proxy. Is this caused by this reason?

log

Is there a way to avoid using a proxy for bittorrent downloads?

Thank you:)

ram占用达到1.15G

想问下这是否正常,我用起来没问题,就是这占用也有点太高了

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.