Comments (13)
我测了两次,都是在没有连接WiFi的设备上连接的WireGuard,第一次开启了白名单模式,不能透明代理,第二次关闭了访问控制,可以透明代理,你有没有开访问控制?
from openwrt-mihomo.
我测了两次,都是在没有连接WiFi的设备上连接的WireGuard,第一次开启了白名单模式,不能透明代理,第二次关闭了访问控制,可以透明代理,你有没有开访问控制?
有的,我开启了黑名单模式。
from openwrt-mihomo.
我测了两次,都是在没有连接WiFi的设备上连接的WireGuard,第一次开启了白名单模式,不能透明代理,第二次关闭了访问控制,可以透明代理,你有没有开访问控制?
有的,我开启了黑名单模式。
有一台nas和一台亚瑟被我设为了黑名单,不走核心。
from openwrt-mihomo.
WireGuard的DNS配置了吗?配置上,再关掉访问控制试试。
from openwrt-mihomo.
WireGuard的DNS配置了吗?配置上,再关掉访问控制试试。
不开访问控制时,通过wireguard连接的设备可以透明代理,开了就不行。
from openwrt-mihomo.
不开访问控制时,通过wireguard连接的设备可以透明代理,开了就不行。
贴一下透明代理那一节的配置吧,注意脱敏
from openwrt-mihomo.
没做啥特殊的配置,只在配置文件中定义了节点信息和路由规则。
proxies:
- 节点定义
proxy-providers:
provider1:
type: http
url: "ur1"
interval: 3600
proxy: DIRECT
health-check:
enable: true
url: https://www.gstatic.com/generate_204
interval: 300
provider2:
type: http
url: "url2"
interval: 3600
proxy: DIRECT
health-check:
enable: true
url: https://www.gstatic.com/generate_204
interval: 300
proxy-groups:
- name: "PROXY"
type: select
disable-udp: true
proxies:
- "gcp-hk负载均衡"
- "jp负载均衡"
- "la256负载均衡"
- "la负载均衡"
- "hk699负载均衡"
- "hk299负载均衡"
- name: "gcp-hk负载均衡"
type: load-balance
url: 'https://www.gstatic.com/generate_204'
interval: 300
strategy: round-robin
proxies:
- gcp-hk-reality
- gcp-hk-hy
- name: "jp负载均衡"
type: load-balance
url: 'https://www.gstatic.com/generate_204'
interval: 300
strategy: round-robin
proxies:
- bv-jp-reality
- bv-jp-hy-1
- bv-jp-hy-2
- bv-jp-hy-3
- bv-jp-hy-4
- bv-jp-hy-5
- name: "la负载均衡"
type: load-balance
url: 'https://www.gstatic.com/generate_204'
interval: 300
strategy: round-robin
proxies:
- bv-la-1
- bv-la-2
- bv-la-3
- bv-la-4
- bv-la-5
- bv-la-6
- bv-la-7
- bv-la-8
- bv-la-9
- name: "la256负载均衡"
type: load-balance
url: 'https://www.gstatic.com/generate_204'
interval: 300
strategy: round-robin
proxies:
- la256-ssr
- la256-hy1
- la256-hy2
- la256-hy3
- la256-hy4
- la256-hy5
- la256-hy6
- name: "hk699负载均衡"
type: load-balance
url: 'https://www.gstatic.com/generate_204'
interval: 300
strategy: round-robin
use:
- provider1
- name: "hk299负载均衡"
type: load-balance
url: 'https://www.gstatic.com/generate_204'
interval: 300
strategy: round-robin
use:
- provider2
rule-providers:
cn:
behavior: domain
interval: 86400
path: ./provider/rule-set/cn_domain.yaml
type: http
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/cn.yaml"
proxy: PROXY
rules:
- RULE-SET,cn,DIRECT
- DOMAIN-SUFFIX,metacubex.one,PROXY
- DOMAIN-SUFFIX,coze.com,PROXY
- DOMAIN-SUFFIX,koyeb.com,PROXY
- DOMAIN-SUFFIX,zerotier.com,PROXY
- DOMAIN-SUFFIX,graalvm.org,PROXY
- DOMAIN-SUFFIX,anyfastcloud.com,PROXY
- GEOSITE,category-ads-all,REJECT
- GEOSITE,private,DIRECT
- GEOSITE,youtube,la256负载均衡
- GEOSITE,openai,jp负载均衡
- GEOSITE,google,PROXY
- GEOSITE,twitter,PROXY
- GEOSITE,pixiv,PROXY
- GEOSITE,category-scholar-!cn,PROXY
- GEOSITE,biliintl,PROXY
- GEOSITE,onedrive,DIRECT
- GEOSITE,microsoft@cn,DIRECT
- GEOSITE,apple-cn,DIRECT
- GEOSITE,steam@cn,DIRECT
- GEOSITE,category-games@cn,DIRECT
- GEOSITE,geolocation-!cn,PROXY
- GEOSITE,cn,DIRECT
#GEOIP规则
- GEOIP,private,DIRECT,no-resolve
- GEOIP,telegram,PROXY
- GEOIP,JP,PROXY
- GEOIP,CN,DIRECT
- MATCH,DIRECT
mode: rule
find-process-mode: off
unified-delay: true
tcp-concurrent: true
keep-alive-interval: 600
log-level: info
external-ui: ui
external-controller: 0.0.0.0:9090
profile:
store-selected: true
store-fake-ip: true
allow-lan: true
port: 10080
socks-port: 10081
mixed-port: 10081
redir-port: 7891
tproxy-port: 7892
dns:
enable: true
listen: 0.0.0.0:1053
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
use-system-hosts: false
use-hosts: false
sniffer:
enable: false
force-dns-mapping: true
parse-pure-ip: true
override-destination: true
from openwrt-mihomo.
抱歉,我说错了,我想说的是LuCI界面里代理配置
这一节的配置
from openwrt-mihomo.
from openwrt-mihomo.
好的,我将会再测一下黑名单模式,如果确实存在插件的问题我会修复。
from openwrt-mihomo.
应该修复了,试一下新Build的包吧
from openwrt-mihomo.
我先Close了,如果问题没有修复,Reopen就行
from openwrt-mihomo.
感谢作者大大,在wireguard客户端上测试正常。
from openwrt-mihomo.
Related Issues (20)
- [Feature Request] HOT 1
- 无法识别替换内核版本 HOT 3
- 关于核心替换/更新
- [BUG]插件会不定时重载 HOT 15
- [Feature Request] 希望可以添加手动上传UI文件和GeoX文件 HOT 2
- [Feature Request] HOT 1
- [Feature Request] 关于订阅转换功能的移除
- [BUG]更新最新版本以后,面板上内存的显示不正常 HOT 3
- [BUG] Choose Profile is NOT optional HOT 5
- [Feature Request]定时/手动更新订阅,而不是每次启动的时候下载 HOT 12
- [BUG] core无法启动,日志未见错误 HOT 16
- [Feature Request]增加备份功能,openwrt系统升级不丢失资源文件 HOT 1
- [Feature Request] 支持混入配置 `fake-ip-filter-mode` HOT 1
- [BUG]开启服务后,无法连接 wireguard HOT 10
- [BUG]all architectures failed, maybe release is still in building, or just miss/unsupport your arch HOT 3
- [BUG] HOT 1
- [BUG] 开启 `遵循分流规则` 后不能启动 HOT 2
- [BUG]直连direct不显示延迟,只有代理节点显示延迟 HOT 5
- [Feature Request] HOT 2
- [BUG]核心无法启动 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwrt-mihomo.