Closed WenisOK closed 2 months ago
兄弟,你运行的时候生成调试日志,要不没防火墙信息的
兄弟,你运行的时候生成调试日志,要不没防火墙信息的
已修改
日志显示防火墙未添加任何条目
一直再报这个错误:2024-08-08 11:05:46【/tmp/clash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com】 有影响吗
Maybe it was trying to download geoip? Try to change the geoip url, there's some option for the GitHub proxy in open clash iirc or provide geoip manually.
Maybe it was trying to download geoip? Try to change the geoip url, there's some option for the GitHub proxy in open clash iirc or provide geoip manually.
I don't think this is the reason. It has two problems that I think, one is that there is no IPTables rule, and the other is no local DNS server
Openwrt 22+ uses nft. nft list ruleset
Can you even access curl -v raw.githubusercontent.com
Openclash would try to download geoip first if not present else it will fail to start. Look at the /etc/openclash folder if there's any geoip files.
It just use curl. Curl should use Dnsmasq to resolve domain. Just set the DNS server Dnsmasq setting.
没有防火墙信息,截图看下
没有防火墙信息,截图看下
在日志中看出来的,防火墙规则是空的,但是正常情况下是否应该是存在的?
#===================== 自定义防火墙设置 =====================#
#!/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..."
exit 0
#===================== IPTABLES 防火墙设置 =====================#
#IPv4 NAT chain
#IPv4 Mangle chain
#IPv4 Filter chain
#IPv6 NAT chain
#IPv6 Mangle chain
#IPv6 Filter chain
空的你就直接进防火墙界面截图
Verify Steps
OpenClash Version
0.46.014-beta
Bug on Environment
Official OpenWrt
OpenWrt Version
23.05.4
Bug on Platform
Linux-amd64(x86-64)
Describe the Bug
界面开启代理,管理界面状态全部为0,只有一个内存占用,随之openwrt无法上网,终端指向网关流量不会经过OpenClash
To Reproduce
每次开启OpenClash
OpenClash Log
OpenClash Config
No response
Expected Behavior
应该可以正常代理上网
Additional Context
No response