vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
16.62k stars 3.07k forks source link

[Bug] 树莓派4B做旁路网关,openclash能正常运行,但是无法科学上网。 #3565

Closed clearlove7-piggy closed 6 months ago

clearlove7-piggy commented 11 months ago

Verify Steps

OpenClash Version

v0.45.141-beta

Bug on Environment

Docker

Bug on Platform

Linux-arm64

To Reproduce

  1. 树莓派4B做旁路网关,主路由dhcp设置旁路由ip,旁路由网关设置主路由ip
  2. openclash能正常开启,但是不能科学上网
  3. 开启openclash的时候,防火墙里显示udp接口是被reject的,udp dpt:443 / OpenClash QUIC REJECT / ! match-set china_ip_route dst reject-with icmp-port-unreachable,这个是显示的信息。

Describe the Bug

  1. 启动openclash
  2. 用nslookup测试,dns请求正常
  3. 但是所有局域网设备都无法成功代理

OpenClash Log

OpenClash 调试日志

生成时间: 2023-10-16 20:15:39 插件版本: v0.45.141-beta 隐私提示: 上传此日志前请注意检查、屏蔽公网IP、节点、密码等相关敏感信息


#===================== 系统信息 =====================#

主机型号: Raspberry Pi 4 Model B Rev 1.5
固件版本: ImmortalWrt 18.06-k5.4-SNAPSHOT r12339-8b50c1df21
LuCI版本: git-22.312.35760-7afcfb2-1
内核版本: 6.1.21-v8+
处理器架构: aarch64_cortex-a72

#此项有值时,如不使用IPv6,建议到网络-接口-lan的设置中禁用IPV6的DHCP
IPV6-DHCP: 

DNS劫持: Dnsmasq 转发
#DNS劫持为Dnsmasq时,此项结果应仅有配置文件的DNS监听地址
Dnsmasq转发设置: 127.0.0.1#5333

#===================== 依赖检查 =====================#

dnsmasq-full: 已安装
coreutils: 已安装
coreutils-nohup: 已安装
bash: 已安装
curl: 已安装
ca-certificates: 已安装
ipset: 已安装
ip-full: 已安装
libcap: 已安装
libcap-bin: 已安装
ruby: 已安装
ruby-yaml: 已安装
ruby-psych: 已安装
ruby-pstore: 已安装
kmod-tun(TUN模式): 已安装
luci-compat(Luci >= 19.07): 已安装
kmod-inet-diag(PROCESS-NAME): 已安装
unzip: 已安装
iptables-mod-tproxy: 已安装
kmod-ipt-tproxy: 已安装
iptables-mod-extra: 已安装
kmod-ipt-extra: 已安装
kmod-ipt-nat: 已安装

#===================== 内核检查 =====================#

运行状态: 未运行
已选择的架构: linux-arm64

#下方无法显示内核版本号时请确认您的内核版本是否正确或者有无权限
Tun内核版本: 2023.08.17
Tun内核文件: 存在
Tun内核运行权限: 正常

Dev内核版本: v1.17.0-20-ga19a9fe
Dev内核文件: 存在
Dev内核运行权限: 正常

Meta内核版本: alpha-g3a9fc39
Meta内核文件: 存在
Meta内核运行权限: 正常

#===================== 插件设置 =====================#

当前配置文件: /etc/openclash/config/muniu1.yaml
启动配置文件: /etc/openclash/muniu1.yaml
运行模式: fake-ip
默认代理模式: rule
UDP流量转发(tproxy): 启用
自定义DNS: 停用
IPV6代理: 停用
IPV6-DNS解析: 停用
禁用Dnsmasq缓存: 启用
自定义规则: 停用
仅允许内网: 启用
仅代理命中规则流量: 停用
仅允许常用端口流量: 停用
绕过中国大陆IP: 停用
路由本机代理: 启用

#启动异常时建议关闭此项后重试
混合节点: 停用
保留配置: 启用

#启动异常时建议关闭此项后重试
第三方规则: 停用

#===================== 配置文件 =====================#

proxy-groups:
- name: Auto - UrlTest
  type: url-test
  proxies:
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
  url: http://cp.cloudflare.com/generate_204
  interval: '600'
  tolerance: '150'
- name: Proxy
  type: select
  proxies:
  - Auto - UrlTest
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Domestic
  type: select
  proxies:
  - DIRECT
  - Proxy
- name: Others
  type: select
  proxies:
  - Proxy
  - DIRECT
  - Domestic
- name: Microsoft
  type: select
  proxies:
  - DIRECT
  - Proxy
- name: ChatGPT
  type: select
  proxies:
  - Proxy
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Apple
  type: select
  proxies:
  - DIRECT
  - Proxy
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Apple TV
  type: select
  proxies:
  - Proxy
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Google FCM
  type: select
  proxies:
  - DIRECT
  - Proxy
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Scholar
  type: select
  proxies:
  - DIRECT
  - Proxy
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Bilibili
  type: select
  proxies:
  - Asian TV
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Bahamut
  type: select
  proxies:
  - Global TV
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: HBO Max
  type: select
  proxies:
  - Global TV
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: HBO Go
  type: select
  proxies:
  - Global TV
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Pornhub
  type: select
  proxies:
  - Global TV
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Netflix
  type: select
  proxies:
  - Global TV
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Disney
  type: select
  proxies:
  - Global TV
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Youtube
  type: select
  disable-udp: true
  proxies:
  - Global TV
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Discovery Plus
  type: select
  proxies:
  - Global TV
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: DAZN
  type: select
  proxies:
  - Global TV
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Spotify
  type: select
  proxies:
  - Global TV
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Steam
  type: select
  proxies:
  - DIRECT
  - Proxy
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: AdBlock
  type: select
  proxies:
  - REJECT
  - DIRECT
  - Proxy
- name: Asian TV
  type: select
  proxies:
  - DIRECT
  - Proxy
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Global TV
  type: select
  proxies:
  - Proxy
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Speedtest
  type: select
  proxies:
  - Proxy
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Telegram
  type: select
  proxies:
  - Proxy
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Crypto
  type: select
  proxies:
  - Proxy
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: Discord
  type: select
  proxies:
  - Proxy
  - DIRECT
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
- name: PayPal
  type: select
  proxies:
  - DIRECT
  - Proxy
  - 1 导航页:bit.ly/45Upvsr
  - 其他 俄罗斯
  - 其他 印度
  - 其他 德国
  - 其他 澳大利亚
  - 台湾 A
  - 台湾 B
  - 台湾 D
  - 台湾 E [0.3x]
  - 新加坡 A
  - 新加坡 B
  - 新加坡 C
  - 新加坡 E (0.3x)
  - 日本 A
  - 日本 B
  - 日本 C
  - 日本 E (0.3x)
  - 美国 A
  - 美国 B
  - 美国 D (0.3x)
  - 韩国 A
  - 韩国 B
  - 香港 A
  - 香港 B
  - 香港 C
  - 香港 E  (0.3x)
rules:
- IP-CIDR,198.18.0.1/16,REJECT,no-resolve
- DST-PORT,7892,REJECT
- DST-PORT,7895,REJECT
redir-port: 7892
tproxy-port: 7895
port: 7890
socks-port: 7891
mixed-port: 7893
mode: rule
allow-lan: true
external-controller: 0.0.0.0:9090
bind-address: "*"
external-ui: "/usr/share/openclash/ui"
ipv6: false
dns:
  enable: true
  ipv6: false
  enhanced-mode: fake-ip
  fake-ip-range: 198.18.0.1/16
  listen: 0.0.0.0:7874
  nameserver:
  - 114.114.114.114
  - 119.29.29.29
  - 223.5.5.5
  - https://doh.pub/dns-query
  - https://223.5.5.5/dns-query
  fallback:
  - https://dns.cloudflare.com/dns-query
  - https://public.dns.iij.jp/dns-query
  - https://jp.tiar.app/dns-query
  - https://jp.tiarap.org/dns-query
profile:
  store-selected: true
authentication:
- Clash:oY0EdExC

#===================== 自定义覆写设置 =====================#

#!/bin/sh
. /usr/share/openclash/ruby.sh
. /usr/share/openclash/log.sh
. /lib/functions.sh

# This script is called by /etc/init.d/openclash
# Add your custom overwrite scripts here, they will be take effict after the OpenClash own srcipts

LOG_OUT "Tip: Start Running Custom Overwrite Scripts..."
LOGTIME=$(echo $(date "+%Y-%m-%d %H:%M:%S"))
LOG_FILE="/tmp/openclash.log"
CONFIG_FILE="$1" #config path

#Simple Demo:
    #General Demo
    #1--config path
    #2--key name
    #3--value
    #ruby_edit "$CONFIG_FILE" "['redir-port']" "7892"
    #ruby_edit "$CONFIG_FILE" "['secret']" "123456"
    #ruby_edit "$CONFIG_FILE" "['dns']['enable']" "true"

    #Hash Demo
    #1--config path
    #2--key name
    #3--hash type value
    #ruby_edit "$CONFIG_FILE" "['experimental']" "{'sniff-tls-sni'=>true}"
    #ruby_edit "$CONFIG_FILE" "['sniffer']" "{'sniffing'=>['tls','http']}"

    #Array Demo:
    #1--config path
    #2--key name
    #3--position(start from 0, end with -1)
    #4--value
    #ruby_arr_insert "$CONFIG_FILE" "['dns']['nameserver']" "0" "114.114.114.114"

    #Array Add From Yaml File Demo:
    #1--config path
    #2--key name
    #3--position(start from 0, end with -1)
    #4--value file path
    #5--value key name in #4 file
    #ruby_arr_add_file "$CONFIG_FILE" "['dns']['fallback-filter']['ipcidr']" "0" "/etc/openclash/custom/openclash_custom_fallback_filter.yaml" "['fallback-filter']['ipcidr']"

#Ruby Script Demo:
    #ruby -ryaml -rYAML -I "/usr/share/openclash" -E UTF-8 -e "
    #   begin
    #      Value = YAML.load_file('$CONFIG_FILE');
    #   rescue Exception => e
    #      puts '${LOGTIME} Error: Load File Failed,【' + e.message + '】';
    #   end;

        #General
    #   begin
    #   Thread.new{
    #      Value['redir-port']=7892;
    #      Value['tproxy-port']=7895;
    #      Value['port']=7890;
    #      Value['socks-port']=7891;
    #      Value['mixed-port']=7893;
    #   }.join;

    #   rescue Exception => e
    #      puts '${LOGTIME} Error: Set General Failed,【' + e.message + '】';
    #   ensure
    #      File.open('$CONFIG_FILE','w') {|f| YAML.dump(Value, f)};
    #   end" 2>/dev/null >> $LOG_FILE

exit 0
#===================== 自定义防火墙设置 =====================#

#!/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

# Generated by iptables-save v1.8.7 on Mon Oct 16 20:15:42 2023
*nat
:PREROUTING ACCEPT [6:1596]
:INPUT ACCEPT [7:1665]
:OUTPUT ACCEPT [23:1537]
:POSTROUTING ACCEPT [0:0]
:postrouting_lan_rule - [0:0]
:postrouting_rule - [0:0]
:postrouting_wan_rule - [0:0]
:prerouting_lan_rule - [0:0]
:prerouting_rule - [0:0]
:prerouting_wan_rule - [0:0]
:zone_lan_postrouting - [0:0]
:zone_lan_prerouting - [0:0]
:zone_wan_postrouting - [0:0]
:zone_wan_prerouting - [0:0]
-A PREROUTING -p udp -m udp --dport 53 -j REDIRECT --to-ports 53
-A PREROUTING -p tcp -m tcp --dport 53 -j REDIRECT --to-ports 53
-A PREROUTING -m comment --comment "!fw3: Custom prerouting rule chain" -j prerouting_rule
-A PREROUTING -i eth0 -m comment --comment "!fw3" -j zone_lan_prerouting
-A POSTROUTING -j MASQUERADE
-A POSTROUTING -o eth0 -j MASQUERADE
-A POSTROUTING -m comment --comment "!fw3: Custom postrouting rule chain" -j postrouting_rule
-A POSTROUTING -o eth0 -m comment --comment "!fw3" -j zone_lan_postrouting
-A zone_lan_postrouting -m comment --comment "!fw3: Custom lan postrouting rule chain" -j postrouting_lan_rule
-A zone_lan_prerouting -m comment --comment "!fw3: Custom lan prerouting rule chain" -j prerouting_lan_rule
-A zone_wan_postrouting -m comment --comment "!fw3: Custom wan postrouting rule chain" -j postrouting_wan_rule
-A zone_wan_postrouting -m comment --comment "!fw3" -j MASQUERADE
-A zone_wan_prerouting -m comment --comment "!fw3: Custom wan prerouting rule chain" -j prerouting_wan_rule
COMMIT
# Completed on Mon Oct 16 20:15:42 2023

#IPv4 Mangle chain

# Generated by iptables-save v1.8.7 on Mon Oct 16 20:15:42 2023
*mangle
:PREROUTING ACCEPT [831:155686]
:INPUT ACCEPT [831:155686]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [985:431643]
:POSTROUTING ACCEPT [985:431643]
:RRDIPT_FORWARD - [0:0]
:RRDIPT_INPUT - [0:0]
:RRDIPT_OUTPUT - [0:0]
-A INPUT -j RRDIPT_INPUT
-A FORWARD -j RRDIPT_FORWARD
-A OUTPUT -j RRDIPT_OUTPUT
-A RRDIPT_FORWARD -s 192.168.110.139/32 -j RETURN
-A RRDIPT_FORWARD -d 192.168.110.139/32 -j RETURN
-A RRDIPT_FORWARD -s 192.168.110.1/32 -j RETURN
-A RRDIPT_FORWARD -d 192.168.110.1/32 -j RETURN
-A RRDIPT_FORWARD -s 192.168.110.74/32 -j RETURN
-A RRDIPT_FORWARD -d 192.168.110.74/32 -j RETURN
-A RRDIPT_INPUT -i eth0 -j RETURN
-A RRDIPT_OUTPUT -o eth0 -j RETURN
COMMIT
# Completed on Mon Oct 16 20:15:42 2023

#IPv4 Filter chain

# Generated by iptables-save v1.8.7 on Mon Oct 16 20:15:42 2023
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:forwarding_lan_rule - [0:0]
:forwarding_rule - [0:0]
:forwarding_wan_rule - [0:0]
:input_lan_rule - [0:0]
:input_rule - [0:0]
:input_wan_rule - [0:0]
:output_lan_rule - [0:0]
:output_rule - [0:0]
:output_wan_rule - [0:0]
:reject - [0:0]
:syn_flood - [0:0]
:zone_lan_dest_ACCEPT - [0:0]
:zone_lan_forward - [0:0]
:zone_lan_input - [0:0]
:zone_lan_output - [0:0]
:zone_lan_src_ACCEPT - [0:0]
:zone_wan_dest_ACCEPT - [0:0]
:zone_wan_forward - [0:0]
:zone_wan_input - [0:0]
:zone_wan_output - [0:0]
:zone_wan_src_ACCEPT - [0:0]
-A INPUT -i lo -m comment --comment "!fw3" -j ACCEPT
-A INPUT -m comment --comment "!fw3: Custom input rule chain" -j input_rule
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m comment --comment "!fw3" -j syn_flood
-A INPUT -i eth0 -m comment --comment "!fw3" -j zone_lan_input
-A FORWARD -m comment --comment "!fw3: Custom forwarding rule chain" -j forwarding_rule
-A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
-A FORWARD -i eth0 -m comment --comment "!fw3" -j zone_lan_forward
-A OUTPUT -o lo -m comment --comment "!fw3" -j ACCEPT
-A OUTPUT -m comment --comment "!fw3: Custom output rule chain" -j output_rule
-A OUTPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
-A OUTPUT -o eth0 -m comment --comment "!fw3" -j zone_lan_output
-A reject -p tcp -m comment --comment "!fw3" -j REJECT --reject-with tcp-reset
-A reject -m comment --comment "!fw3" -j REJECT --reject-with icmp-port-unreachable
-A syn_flood -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m limit --limit 25/sec --limit-burst 50 -m comment --comment "!fw3" -j RETURN
-A syn_flood -m comment --comment "!fw3" -j DROP
-A zone_lan_dest_ACCEPT -o eth0 -m comment --comment "!fw3" -j ACCEPT
-A zone_lan_forward -m comment --comment "!fw3: Custom lan forwarding rule chain" -j forwarding_lan_rule
-A zone_lan_forward -m comment --comment "!fw3: Zone lan to wan forwarding policy" -j zone_wan_dest_ACCEPT
-A zone_lan_forward -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port forwards" -j ACCEPT
-A zone_lan_forward -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT
-A zone_lan_input -m comment --comment "!fw3: Custom lan input rule chain" -j input_lan_rule
-A zone_lan_input -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port redirections" -j ACCEPT
-A zone_lan_input -m comment --comment "!fw3" -j zone_lan_src_ACCEPT
-A zone_lan_output -m comment --comment "!fw3: Custom lan output rule chain" -j output_lan_rule
-A zone_lan_output -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT
-A zone_lan_src_ACCEPT -i eth0 -m conntrack --ctstate NEW,UNTRACKED -m comment --comment "!fw3" -j ACCEPT
-A zone_wan_forward -m comment --comment "!fw3: Custom wan forwarding rule chain" -j forwarding_wan_rule
-A zone_wan_forward -p esp -m comment --comment "!fw3: Allow-IPSec-ESP" -j zone_lan_dest_ACCEPT
-A zone_wan_forward -p udp -m udp --dport 500 -m comment --comment "!fw3: Allow-ISAKMP" -j zone_lan_dest_ACCEPT
-A zone_wan_forward -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port forwards" -j ACCEPT
-A zone_wan_forward -m comment --comment "!fw3" -j zone_wan_dest_ACCEPT
-A zone_wan_input -m comment --comment "!fw3: Custom wan input rule chain" -j input_wan_rule
-A zone_wan_input -p udp -m udp --dport 68 -m comment --comment "!fw3: Allow-DHCP-Renew" -j ACCEPT
-A zone_wan_input -p icmp -m icmp --icmp-type 8 -m comment --comment "!fw3: Allow-Ping" -j ACCEPT
-A zone_wan_input -p igmp -m comment --comment "!fw3: Allow-IGMP" -j ACCEPT
-A zone_wan_input -p udp -m udp --dport 33434:33689 -m comment --comment "!fw3: Support-UDP-Traceroute" -j reject
-A zone_wan_input -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port redirections" -j ACCEPT
-A zone_wan_input -m comment --comment "!fw3" -j zone_wan_src_ACCEPT
-A zone_wan_output -m comment --comment "!fw3: Custom wan output rule chain" -j output_wan_rule
-A zone_wan_output -m comment --comment "!fw3" -j zone_wan_dest_ACCEPT
COMMIT
# Completed on Mon Oct 16 20:15:42 2023

#IPv6 NAT chain

#IPv6 Mangle chain

#IPv6 Filter chain

#===================== IPSET状态 =====================#

#===================== 路由表状态 =====================#

#IPv4

#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.110.1   0.0.0.0         UG    0      0        0 eth0
192.168.110.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0

#ip route list
default via 192.168.110.1 dev eth0 proto static 
192.168.110.0/24 dev eth0 proto kernel scope link src 192.168.110.100 

#ip rule show
0:  from all lookup local
32766:  from all lookup main
32767:  from all lookup default

#IPv6

#route -A inet6
Kernel IPv6 routing table
Destination                                 Next Hop                                Flags Metric Ref    Use Iface
fe80::/64                                   ::                                      U     256    1        0 eth0    
::/0                                        ::                                      !n    -1     1        0 lo      
::1/128                                     ::                                      Un    0      6        0 lo      
fe80::/128                                  ::                                      Un    0      3        0 eth0    
fe80::42:c0ff:fea8:6e02/128                 ::                                      Un    0      3        0 eth0    
ff00::/8                                    ::                                      U     256    5        0 eth0    
::/0                                        ::                                      !n    -1     1        0 lo      

#ip -6 route list
fe80::/64 dev eth0 proto kernel metric 256 pref medium

#ip -6 rule show
0:  from all lookup local
32766:  from all lookup main
4200000001: from all iif lo failed_policy
4200000006: from all iif eth0 failed_policy

#===================== 端口占用状态 =====================#

#===================== 测试本机DNS查询(www.baidu.com) =====================#

Server:     127.0.0.1
Address:    127.0.0.1:53

Non-authoritative answer:
www.baidu.com   canonical name = www.a.shifen.com
Name:   www.a.shifen.com
Address: 14.119.104.189
Name:   www.a.shifen.com
Address: 14.119.104.254

#===================== 测试内核DNS查询(www.instagram.com) =====================#

Dnsmasq 当前默认 resolv 文件:

#===================== 测试本机网络连接(www.baidu.com) =====================#

HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Connection: keep-alive
Content-Length: 277
Content-Type: text/html
Date: Mon, 16 Oct 2023 12:15:42 GMT
Etag: "575e1f72-115"
Last-Modified: Mon, 13 Jun 2016 02:50:26 GMT
Pragma: no-cache
Server: bfe/1.0.8.18

#===================== 测试本机网络下载(raw.githubusercontent.com) =====================#

#===================== 最近运行日志(自动切换为Debug模式) =====================#

2023-10-16 20:14:16 Step 4: Close The Clash Core Process...
2023-10-16 20:14:16 Step 5: Restart Dnsmasq...
2023-10-16 20:14:16 Step 6: Delete OpenClash Residue File...
2023-10-16 20:14:16 OpenClash Start Running...
2023-10-16 20:14:16 Step 1: Get The Configuration...
2023-10-16 20:14:17 Step 2: Check The Components...
2023-10-16 20:14:18 Step 3: Modify The Config File...
2023-10-16 20:14:19 Tip: You have seted the authentication of SOCKS5/HTTP(S) proxy with【Clash:oY0EdExC】
2023-10-16 20:14:18 Tip: Detected That The nameserver DNS Option Has No Server Set, Starting To Complete...
2023-10-16 20:14:20 Tip: Start Running Custom Overwrite Scripts...
2023-10-16 20:14:20 Step 4: Start Running The Clash Core...
2023-10-16 20:14:20 Tip: No Special Configuration Detected, Use Dev Core to Start...
2023-10-16 20:14:20 Test The Config File First...
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Domestic"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Speedtest"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Auto - UrlTest"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Google FCM"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Microsoft"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Crypto"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Global TV"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider HBO Go"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Others"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Disney"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Discord"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider ChatGPT"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Discovery Plus"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Bahamut"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Apple"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Asian TV"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Spotify"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Pornhub"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Steam"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Youtube"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider HBO Max"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Telegram"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider AdBlock"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Scholar"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider PayPal"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Netflix"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider DAZN"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Proxy"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Apple TV"
time="2023-10-16T12:14:20Z" level=info msg="Start initial compatible provider Bilibili"
2023-10-16 20:14:20 configuration file【/etc/openclash/muniu1.yaml】test is successful
2023-10-16 20:14:22 Step 5: Check The Core Status...
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider ChatGPT"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Discovery Plus"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Apple"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Spotify"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider DAZN"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Pornhub"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Telegram"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Crypto"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Global TV"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider AdBlock"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Bilibili"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Microsoft"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Domestic"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Speedtest"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Scholar"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Discord"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider HBO Max"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider HBO Go"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Apple TV"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Proxy"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Netflix"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Others"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Bahamut"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider PayPal"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Youtube"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Disney"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Auto - UrlTest"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Asian TV"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Steam"
time="2023-10-16T12:14:22Z" level=info msg="Start initial compatible provider Google FCM"
time="2023-10-16T12:14:22Z" level=info msg="Authentication of local server updated"
time="2023-10-16T12:14:22Z" level=info msg="inbound http://:7890 create success."
time="2023-10-16T12:14:22Z" level=info msg="inbound socks://:7891 create success."
time="2023-10-16T12:14:22Z" level=info msg="RESTful API listening at: [::]:9090"
time="2023-10-16T12:14:22Z" level=info msg="inbound redir://:7892 create success."
time="2023-10-16T12:14:22Z" level=info msg="inbound tproxy://:7895 create success."
time="2023-10-16T12:14:22Z" level=info msg="inbound mixed://:7893 create success."
time="2023-10-16T12:14:22Z" level=info msg="DNS server listening at: [::]:7874"
2023-10-16 20:14:25 Step 6: Wait For The File Downloading...
2023-10-16 20:14:25 Step 7: Set Firewall Rules...
2023-10-16 20:14:25 Tip: DNS Hijacking Mode is Dnsmasq Redirect...
2023-10-16 20:14:25 Warning: Can't Settting Only Intranet Allowed Function, Get IPv4 WAN Interfaces error, Please Verify The Firewall's WAN Zone Name is wan, Ignore This IF The Device Does not Have a WAN Interfaces...
2023-10-16 20:14:25 Tip: Start Add Port Bypassing Rules For Firewall Redirect and Firewall Rules...
2023-10-16 20:14:26 Tip: Start Add Custom Firewall Rules...
2023-10-16 20:14:26 Step 8: Restart Dnsmasq...
2023-10-16 20:14:26 Step 9: Add Cron Rules, Start Daemons...
2023-10-16 20:14:26 OpenClash Start Successful!
2023-10-16 20:14:30 OpenClash Stoping...
2023-10-16 20:14:30 Step 1: Backup The Current Groups State...
2023-10-16 20:14:30 Step 2: Delete OpenClash Firewall Rules...
2023-10-16 20:14:31 Step 3: Close The OpenClash Daemons...
2023-10-16 20:14:31 Step 4: Close The Clash Core Process...
2023-10-16 20:14:32 Step 5: Restart Dnsmasq...
2023-10-16 20:14:33 Step 6: Delete OpenClash Residue File...
2023-10-16 20:14:33 OpenClash Already Stop!

#===================== 最近运行日志获取完成(自动切换为silent模式) =====================#

#===================== 活动连接信息 =====================#

OpenClash Config

固件版本:ImmortalWrt 18.06-k5.4-SNAPSHOT r12339-8b50c1df21 / LuCI openwrt-18.06-k5.4 branch (git-22.312.35760-7afcfb2)
目标平台:树莓派4B
内核版本:6.1.21-v8+

Expected Behavior

希望能够得到大佬帮助,旁路由能够成功科学上网

Screenshots

No response

vernesong commented 11 months ago

发内核连接日志

clearlove7-piggy commented 11 months ago

发内核连接日志

2023-10-17 17:53:48 level=info msg="DNS server listening at: [::]:7874" 2023-10-17 17:53:48 level=info msg="inbound mixed://:7893 create success." 2023-10-17 17:53:48 level=info msg="inbound tproxy://:7895 create success." 2023-10-17 17:53:48 level=info msg="inbound redir://:7892 create success." 2023-10-17 17:53:48 level=info msg="inbound socks://:7891 create success." 2023-10-17 17:53:48 level=info msg="inbound http://:7890 create success." 2023-10-17 17:53:48 level=info msg="RESTful API listening at: [::]:9090" 2023-10-17 17:53:48 level=info msg="Authentication of local server updated" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Apple TV" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Netflix" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider HBO Max" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Spotify" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Crypto" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Disney" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Scholar" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider DAZN" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Telegram" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Steam" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Apple" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Google FCM" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Asian TV" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Speedtest" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Discovery Plus" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider ChatGPT" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Pornhub" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Bahamut" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Domestic" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Others" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider HBO Go" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider AdBlock" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Global TV" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Auto - UrlTest" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Microsoft" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Discord" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Bilibili" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Youtube" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider PayPal" 2023-10-17 17:53:48 level=info msg="Start initial compatible provider Proxy" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Youtube" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Asian TV" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Netflix" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Bilibili" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Global TV" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider ChatGPT" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Speedtest" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider PayPal" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider HBO Go" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider DAZN" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Proxy" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Scholar" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Steam" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Disney" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Bahamut" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Others" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider HBO Max" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Domestic" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Discord" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Google FCM" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Crypto" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Apple TV" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Auto - UrlTest" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Microsoft" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Discovery Plus" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Apple" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Pornhub" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Spotify" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider AdBlock" 2023-10-17 17:53:47 level=info msg="Start initial compatible provider Telegram"

vernesong commented 10 months ago

WiFi连接还是网线连接的,你这日志能看到啥,我要的是内核debug模式下的连接日志

LiYanan2004 commented 10 months ago

我也有这个问题 无线连接的 debug里走代理的都是这样的:

[2023-10-30 19:04:15][WARNING] [TCP] dial Ⓜ️ 微软服务 (match DomainSuffix/msidentity.com) 192.168.3.59:54596 --> login.mso.msidentity.com:443 error: all DNS requests failed, first error: dns: bad rdata [2023-10-30 19:04:17][DEBUG] [DNS] resolve api-ipv4.ip.sb error: all DNS requests failed, first error: dns: bad rdata [2023-10-30 19:04:18][DEBUG] [DNS] resolve cdn.jsdelivr.net error: all DNS requests failed, first error: dns: bad rdata

LiYanan2004 commented 10 months ago

我也有这个问题 无线连接的 debug里走代理的都是这样的:

[2023-10-30 19:04:15][WARNING] [TCP] dial Ⓜ️ 微软服务 (match DomainSuffix/msidentity.com) 192.168.3.59:54596 --> login.mso.msidentity.com:443 error: all DNS requests failed, first error: dns: bad rdata [2023-10-30 19:04:17][DEBUG] [DNS] resolve api-ipv4.ip.sb error: all DNS requests failed, first error: dns: bad rdata [2023-10-30 19:04:18][DEBUG] [DNS] resolve cdn.jsdelivr.net error: all DNS requests failed, first error: dns: bad rdata

OpenClash 均为默认设置,Fake-IP 模式,规则没问题。

偶尔在启动 open clash 后很快就OK了

clearlove7-piggy commented 10 months ago

我也有这个问题 无线连接的 debug里走代理的都是这样的: [2023-10-30 19:04:15][WARNING] [TCP] dial Ⓜ️ 微软服务 (match DomainSuffix/msidentity.com) 192.168.3.59:54596 --> login.mso.msidentity.com:443 error: all DNS requests failed, first error: dns: bad rdata [2023-10-30 19:04:17][DEBUG] [DNS] resolve api-ipv4.ip.sb error: all DNS requests failed, first error: dns: bad rdata [2023-10-30 19:04:18][DEBUG] [DNS] resolve cdn.jsdelivr.net error: all DNS requests failed, first error: dns: bad rdata

OpenClash 均为默认设置,Fake-IP 模式,规则没问题。

偶尔在启动 open clash 后很快就OK了

你的解决了吗?

LiYanan2004 commented 10 months ago

我也有这个问题 无线连接的 debug里走代理的都是这样的: [2023-10-30 19:04:15][WARNING] [TCP] dial Ⓜ️ 微软服务 (match DomainSuffix/msidentity.com) 192.168.3.59:54596 --> login.mso.msidentity.com:443 error: all DNS requests failed, first error: dns: bad rdata [2023-10-30 19:04:17][DEBUG] [DNS] resolve api-ipv4.ip.sb error: all DNS requests failed, first error: dns: bad rdata [2023-10-30 19:04:18][DEBUG] [DNS] resolve cdn.jsdelivr.net error: all DNS requests failed, first error: dns: bad rdata

OpenClash 均为默认设置,Fake-IP 模式,规则没问题。 偶尔在启动 open clash 后很快就OK了

你的解决了吗?

折腾了好久,刚解决。你看下你的配置文件有没有配置 dns,配置上就好了。

给你一个我用的:

dns:
  enable: true
  use-hosts: true
  nameserver:
    - 223.5.5.5
    - 119.29.29.29
  default-nameserver:
    - 223.5.5.5
    - 119.29.29.29
  fallback:
    - https://dns.alidns.com/dns-query
    - https://doh.pub/dns-query
    - tls://1.1.1.1:853
    - tls://1.0.0.1:853
    - https://1.1.1.1/dns-query
    - https://1.0.0.1/dns-query
    - tls://8.8.8.8:853
    - tls://8.8.4.4:853
  fallback-filter:
    geoip: true
    geoip-code: CN
    ipcidr:
      - 240.0.0.0/4
      - 127.0.0.0/8
      - 0.0.0.0/8
clearlove7-piggy commented 10 months ago

我也有这个问题 无线连接的 debug里走代理的都是这样的: [2023-10-30 19:04:15][WARNING] [TCP] dial Ⓜ️ 微软服务 (match DomainSuffix/msidentity.com) 192.168.3.59:54596 --> login.mso.msidentity.com:443 error: all DNS requests failed, first error: dns: bad rdata [2023-10-30 19:04:17][DEBUG] [DNS] resolve api-ipv4.ip.sb error: all DNS requests failed, first error: dns: bad rdata [2023-10-30 19:04:18][DEBUG] [DNS] resolve cdn.jsdelivr.net error: all DNS requests failed, first error: dns: bad rdata

OpenClash 均为默认设置,Fake-IP 模式,规则没问题。 偶尔在启动 open clash 后很快就OK了

你的解决了吗?

折腾了好久,刚解决。你看下你的配置文件有没有配置 dns,配置上就好了。

给你一个我用的:

dns:
  enable: true
  use-hosts: true
  nameserver:
    - 223.5.5.5
    - 119.29.29.29
  default-nameserver:
    - 223.5.5.5
    - 119.29.29.29
  fallback:
    - https://dns.alidns.com/dns-query
    - https://doh.pub/dns-query
    - tls://1.1.1.1:853
    - tls://1.0.0.1:853
    - https://1.1.1.1/dns-query
    - https://1.0.0.1/dns-query
    - tls://8.8.8.8:853
    - tls://8.8.4.4:853
  fallback-filter:
    geoip: true
    geoip-code: CN
    ipcidr:
      - 240.0.0.0/4
      - 127.0.0.0/8
      - 0.0.0.0/8

这个是网络的配置文件还是机场的?

LiYanan2004 commented 10 months ago

就是配置文件啊 yaml

clearlove7-piggy commented 10 months ago

就是配置文件啊 yaml 2023-10-31 19:54:09 level=warning msg="[TCP] dial DIRECT 192.168.110.100:56566 --> ftp.jaist.ac.jp:443 error: all DNS requests failed, first error: dns: bad rdata" 2023-10-31 19:54:04 level=warning msg="[TCP] dial DIRECT 192.168.110.100:50628 --> raw.githubusercontent.com:443 error: all DNS requests failed, first error: dns: bad rdata" 2023-10-31 19:53:57 level=warning msg="[TCP] dial DIRECT 192.168.110.100:60792 --> ftp.jaist.ac.jp:443 error: all DNS requests failed, first error: Post \"https://public.dns.iij.jp/dns-query\": read tcp4 192.168.110.100:45878->103.2.57.5:443: read: connection reset by peer" 2023-10-31 19:53:11 level=info msg="DNS server listening at: [::]:7874" 2023-10-31 19:53:11 level=info msg="inbound mixed://:7893 create success." 2023-10-31 19:53:11 level=info msg="inbound tproxy://:7895 create success." 2023-10-31 19:53:11 level=info msg="inbound redir://:7892 create success." 2023-10-31 19:53:11 level=info msg="inbound socks://:7891 create success." 2023-10-31 19:53:11 level=info msg="RESTful API listening at: [::]:9090" 2023-10-31 19:53:11 level=info msg="inbound http://:7890 create success." 2023-10-31 19:53:11 level=info msg="Authentication of local server updated" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Google FCM" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Steam" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider PayPal" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider HBO Go" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Bilibili" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Discovery Plus" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Discord" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Auto - UrlTest" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Apple TV" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Microsoft" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Disney" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Netflix" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Asian TV" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider AdBlock" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Domestic" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Global TV" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Proxy" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Youtube" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Others" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider ChatGPT" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Bahamut" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Apple" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider DAZN" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Speedtest" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Spotify" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Pornhub" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Scholar" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider HBO Max" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Crypto" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Telegram" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Telegram" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Bahamut" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider ChatGPT" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Discovery Plus" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Others" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Crypto" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Speedtest" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider HBO Go" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Global TV" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Google FCM" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Spotify" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Apple TV" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider PayPal" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Bilibili" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider HBO Max" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Microsoft" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Youtube" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Domestic" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Proxy" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Pornhub" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Asian TV" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Auto - UrlTest" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider AdBlock" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Apple" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Discord" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider DAZN" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Steam" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Scholar" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Netflix" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Disney"

clearlove7-piggy commented 10 months ago

就是配置文件啊 yaml 2023-10-31 19:54:09 level=warning msg="[TCP] dial DIRECT 192.168.110.100:56566 --> ftp.jaist.ac.jp:443 error: all DNS requests failed, first error: dns: bad rdata" 2023-10-31 19:54:04 level=warning msg="[TCP] dial DIRECT 192.168.110.100:50628 --> raw.githubusercontent.com:443 error: all DNS requests failed, first error: dns: bad rdata" 2023-10-31 19:53:57 level=warning msg="[TCP] dial DIRECT 192.168.110.100:60792 --> ftp.jaist.ac.jp:443 error: all DNS requests failed, first error: Post "https://public.dns.iij.jp/dns-query\": read tcp4 192.168.110.100:45878->103.2.57.5:443: read: connection reset by peer" 2023-10-31 19:53:11 level=info msg="DNS server listening at: [::]:7874" 2023-10-31 19:53:11 level=info msg="inbound mixed://:7893 create success." 2023-10-31 19:53:11 level=info msg="inbound tproxy://:7895 create success." 2023-10-31 19:53:11 level=info msg="inbound redir://:7892 create success." 2023-10-31 19:53:11 level=info msg="inbound socks://:7891 create success." 2023-10-31 19:53:11 level=info msg="RESTful API listening at: [::]:9090" 2023-10-31 19:53:11 level=info msg="inbound http://:7890 create success." 2023-10-31 19:53:11 level=info msg="Authentication of local server updated" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Google FCM" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Steam" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider PayPal" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider HBO Go" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Bilibili" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Discovery Plus" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Discord" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Auto - UrlTest" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Apple TV" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Microsoft" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Disney" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Netflix" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Asian TV" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider AdBlock" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Domestic" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Global TV" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Proxy" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Youtube" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Others" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider ChatGPT" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Bahamut" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Apple" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider DAZN" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Speedtest" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Spotify" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Pornhub" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Scholar" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider HBO Max" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Crypto" 2023-10-31 19:53:11 level=info msg="Start initial compatible provider Telegram" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Telegram" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Bahamut" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider ChatGPT" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Discovery Plus" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Others" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Crypto" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Speedtest" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider HBO Go" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Global TV" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Google FCM" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Spotify" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Apple TV" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider PayPal" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Bilibili" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider HBO Max" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Microsoft" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Youtube" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Domestic" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Proxy" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Pornhub" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Asian TV" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Auto - UrlTest" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider AdBlock" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Apple" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Discord" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider DAZN" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Steam" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Scholar" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Netflix" 2023-10-31 19:53:10 level=info msg="Start initial compatible provider Disney"

现在是这么个情况。难搞啊

LiYanan2004 commented 10 months ago

@clearlove7-piggy 你这个应该也是 DNS 问题,你把我之前给你的dns那一段加在yaml文件里试试,不行的话我也不知道了

clearlove7-piggy commented 10 months ago

@clearlove7-piggy 你这个应该也是 DNS 问题,你把我之前给你的dns那一段加在yaml文件里试试,不行的话我也不知道了

image 我试了一下不行,你接口那里是怎么设置的?我是取消桥接,网关和dns设置的主路由的

clearlove7-piggy commented 10 months ago

@clearlove7-piggy 你这个应该也是 DNS 问题,你把我之前给你的dns那一段加在yaml文件里试试,不行的话我也不知道了

image 我试了一下不行,你接口那里是怎么设置的?我是取消桥接,网关和dns设置的主路由的

image

clearlove7-piggy commented 10 months ago

主路由里这样设置的。 image

clearlove7-piggy commented 10 months ago

openwrt里开启了smartdns和 burbo Acc加速

lmzzzzz1 commented 10 months ago

请问这个问题解决了吗,我是光猫拨号上网开启DHCP,路由器连光猫也开启DHCP,在NAS中开docker跑openwrt当旁路由,开启openclash后控制台页面显示的youtube能连通,使用openwrt做网关的设备(手机、电脑、电视)还是无法科学上网,但能访问国内网络

clearlove7-piggy commented 10 months ago

请问这个问题解决了吗,我是光猫拨号上网开启DHCP,路由器连光猫也开启DHCP,在NAS中开docker跑openwrt当旁路由,开启openclash后控制台页面显示的youtube能连通,使用openwrt做网关的设备(手机、电脑、电视)还是无法科学上网,但能访问国内网络

没解决呀,不知道问题出在哪

lmzzzzz1 commented 10 months ago

请问这个问题解决了吗,我是光猫拨号上网开启DHCP,路由器连光猫也开启DHCP,在NAS中开docker跑openwrt当旁路由,开启openclash后控制台页面显示的youtube能连通,使用openwrt做网关的设备(手机、电脑、电视)还是无法科学上网,但能访问国内网络

没解决呀,不知道问题出在哪

我是把主路由的DNS和网关都设置成openwrt的ip地址就可以了,在设备里指定openwrt作为DNS不生效

clearlove7-piggy commented 10 months ago

请问这个问题解决了吗,我是光猫拨号上网开启DHCP,路由器连光猫也开启DHCP,在NAS中开docker跑openwrt当旁路由,开启openclash后控制台页面显示的youtube能连通,使用openwrt做网关的设备(手机、电脑、电视)还是无法科学上网,但能访问国内网络

没解决呀,不知道问题出在哪

我是把主路由的DNS和网关都设置成openwrt的ip地址就可以了,在设备里指定openwrt作为DNS不生效

我试试

cerellean commented 9 months ago

我也有类似问题,不过我主路由用的ROS,IP分流给OP,SSRP是出国没问题,但是openclash就没办法出国。很奇怪的问题。

github-actions[bot] commented 7 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days