vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
16.83k stars 3.1k forks source link

[Bug] #3902

Closed ssharkkky closed 1 month ago

ssharkkky commented 4 months ago

Verify Steps

OpenClash Version

v0.46.011-beta

Bug on Environment

Official OpenWrt

OpenWrt Version

23.05.3

Bug on Platform

Linux-amd64(x86-64)

Describe the Bug

我的openwrt目前配置为单臂旁路由,安装了openclash,主路由一切默认并且设置了端口转发。局域网里连接的设备手动填写openwrt为网关实现代理。但是我发现只要我开了openclash,公网就无法再访问内网的网站或者服务了(只要关掉openclash外网就又可以访问了)。请问怎么解决?

To Reproduce

在局域网设备上部署网站,网关填旁路由openwrt,在主路由设置端口转发,在旁路由上开启openclash,此时公网无法访问网站,并且只要关闭openclash就没问题

OpenClash Log

日志在附件

OpenClash Config

No response

Expected Behavior

开启openclash时,使用它为网关的设备上的服务/网站可以被公网访问

Additional Context

新建 文本文档.txt

vernesong commented 4 months ago

访问控制,排除内网向外通讯的端口

ssharkkky commented 3 months ago

访问控制,排除内网向外通讯的端口

image

你好,这个选项我之前就填过了。我的内网是192.168.0.x

vernesong commented 3 months ago

黑白名单

ssharkkky commented 3 months ago

黑白名单

黑白名单就直接全都走直连了,我只是想实现外部访问

github-actions[bot] commented 1 month 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