BaoLianDeng for Mac

The latest version of BaoLianDeng for Mac is 5.5, released . VPN proxy powered by Mihomo (Clash Meta).

What's new in BaoLianDeng 5.5

Changes

Avoid hardcoded localhost ports. The mihomo SOCKS5, DNS, and external-controller listeners used to bind fixed loopback ports (7890 / 1053 / 9090), which collided with any other mihomo instance running on the host. The main app now picks free 127.0.0.1 ports up-front and forwards them to the system extension via providerConfiguration. The bridge exposes a new BridgeStartWithPorts(socks, dns, controllerAddr, secret) entry point that overrides the listener config before mihomo starts.

Show more

User edits to mixed-port / dns.listen / external-controller in config.yaml are now ignored β€” ports are picked at runtime each session.

Install

Download BaoLianDeng-5.5.pkg, open it, and follow the installer prompts. After install, enable the system extension under System Settings β†’ General β†’ Login Items & Extensions β†’ Network Extensions.

πŸ€– Generated with Claude Code

Source: github.com

How to update BaoLianDeng on your Mac

BaoLianDeng version history

  1. 6.1

    Claude-Session: https://claude.ai/code/session01RE96utCvf8jMzGGFNyFJsq

    Source: github.com

  2. 5.5
  3. 5.4

    What's Changed

    • Fix tunnel startup failure by removing the 0.0.0.0/8 entry from excludedNetworkRules β€” macOS rejected the settings object with NETunnelProviderErrorDomain Code=1 when that wildcard was present (#34)
    • Exclude LAN and private IP ranges from the VPN route (cb6d94b)

    Full Changelog: v5.3...v5.4

    Source: github.com

  4. 5.3

    BaoLianDeng v5.3 (build 54)

    Source: github.com

  5. 5.2
    • Fix TunnelLogView freezing by using LazyVStack and skipping redundant updates (#15)
    • Fix toolbar items hidden by long proxy node names (#17)
    • Fix flaky MihomoCore integration tests by serializing execution (#15)
    • Update docs and GitHub Pages for v5.2

    Source: github.com

  6. 5.1
    • Dual-path DNS β€” DoH via remote proxy for clean resolution, local mihomo DNS for rule-matching cache population
    • UDP NAT relay β€” non-DNS UDP traffic is relayed through mihomo via a NAT2 relay
    • SOCKS5 client refactor β€” extracted standalone client, DNS queries now forward straight to mihomo
    • Smarter node promotion β€” auto-detect bypass groups when promoting the selected proxy node
    • Preinstall script β€” PKG now removes any existing app before install
    • Connection leak fix β€” resolved TCP connection leak in the transparent proxy relay
    • Separate Debug/Release build numbers β€” dev builds no longer clobber release build numbers

    Install

    Download and open BaoLianDeng-5.1.pkg, then enable the network extension in System Settings β†’ General β†’ Login Items & Extensions β†’ Network Extensions.

    Source: github.com

  7. 5.0
    • PKG installer β€” streamlined installation with system extension approval (replaces DMG)
    • macOS 15+ compatibility β€” fix transparent proxy network rules (port 53 restriction)
    • VPN manager robustness β€” prevent duplicate configs, activation race conditions, and show extension errors
    • Sidebar navigation with toolbar node display
    • Per-app proxy with search

    Install

    Download and open BaoLianDeng-5.0.pkg, then enable the network extension in System Settings β†’ General β†’ Login Items & Extensions β†’ Network Extensions.

    Source: github.com

  8. 4.0
    • NETransparentProxyProvider: Rewrote the tunnel from packet-level (TUN/tun2socks) to socket-level flow interception. TCP flows are relayed via SOCKS5 with domain-based CONNECT. DNS is resolved via DoH through the proxy with an IPβ†’domain lookup table.
    • Config UI improvements: Proxy groups and rules are now in dedicated searchable subviews. Rules support add/edit/delete via context menu.
    • Smaller binary: Removed smoltcp, nix, and the entire Rust tun2socks layer.
    • Localization fix: BaoLianDeng name is no longer translated to Chinese in zh-Hans locale.

    Source: github.com

  9. 3.1
    • Replace lwIP with netstack-smoltcp for tun2socks (pure Rust TCP/IP stack)
    • Fix DNS response double AF header preventing DNS resolution through TUN
    • Add plain UDP DNS fallback for cold-start bootstrap

    Source: github.com

  10. 3.0
    • macOS native app with system extension (PacketTunnelMac)
    • Rust proxy engine β€” MihomoCore.xcframework compiled from Rust FFI
    • smoltcp tun2socks β€” Pure Rust TCP/IP stack for TUN packet reassembly
    • AsyncFd β€” Tokio AsyncFd for efficient kqueue-based TUN fd handling
    • DoH DNS β€” DNS queries resolved via DNS-over-HTTPS through SOCKS5
    • Developer ID signed & notarized DMG for direct distribution

    Source: github.com

Details

Latest version
5.5
Released
Last checked
Website
madeye.github.io
Homebrew cask
baoliandeng