跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[问与答] [求助] 关于在安卓设备上使用 box_for_magisk

发表于

大家好,我目前在已解锁且安装了 Magisk 的小米 14U 设备(安卓 14 )上使用[box_for_magisk]

利用 bfm 加载 mihomo 内核。虽然基本可以使用,但有时会遇到网页打开缓慢或加载失败的问题(关闭代理之后恢复正常)。

我怀疑可能是规则配置有问题,希望能得到一些建议。

以下是我目前的几个疑问:

  1. DNS 配置部分应该如何优化?
  2. sniffer 功能是否需要开启?
  3. 在安卓设备上是否需要开启 tun 模式?

我当前的配置如下(部分):

dns:
  enable: true
  listen: 0.0.0.0:1053
  ipv6: false
  default-nameserver:
    - 119.29.29.29
    - 223.5.5.5
  nameserver:
    - 119.29.29.29
    - 223.5.5.5
  enhanced-mode: fake-ip
  fake-ip-range: 28.0.0.1/8
  fake-ip-filter:
    - "*.lan"
    - localhost.ptlogin2.qq.com
    - +.srv.nintendo.net
    - +.stun.playstation.net
    - +.msftconnecttest.com
    - +.msftncsi.com
    - +.xboxlive.com
    - msftconnecttest.com
    - xbox.*.microsoft.com
    - "*.mijia.*"
  fallback:
    - https://cloudflare-dns.com/dns-query
    - https://dns.google/dns-query
    - https://dns.alidns.com/dns-query
  
  fallback-filter:
    geoip: true
    geoip-code: CN
    ipcidr:
      - 240.0.0.0/4
    domain:
      - '+.google.com'
      - '+.facebook.com'
      - '+.youtube.com'
      - '+.googleapis.+'

sniffer:
  enable: true
  force-dns-mapping: true
  parse-pure-ip: true
  override-destination: false

  sniff:
    TLS:
      ports: [ 443, 8443 ]
    QUIC:
      ports: [ 443 ]
    HTTP:
      ports: [ 80, 8080-8880 ]
      override-destination: true
  skip-domain:
    - mijia cloud

tun:
  enable: false
  device: tun0
  stack: system
  dns-hijack:
    - any:53
  auto-route: true
  auto-detect-interface: true

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.