---
agent:
  instructions: "Use this search API to find the latest version, release notes and update steps of any Mac app, and pages on this site, with an app name, bundle ID or natural-language question, instead of crawling pages. Results are returned in Markdown."
  endpoint: "https://tryfresh.app/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# BaoLianDeng for Mac

The latest version of BaoLianDeng for Mac is 5.5, released May 9, 2026. 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.

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 (notes: [github.com](https://github.com/madeye/BaoLianDeng/releases/tag/v5.5)), read 2026-11-25.

## How to update BaoLianDeng on your Mac

- **With Homebrew.** If you installed BaoLianDeng with Homebrew, run `brew upgrade --cask baoliandeng`.
- **From the developer.** Download the latest version from https://madeye.github.io/BaoLianDeng/ and install it over the old copy in your Applications folder.
- **With Fresh.** Fresh lives in your menu bar, spots when BaoLianDeng and your other apps are out of date, and updates them all in one click. It's coming soon: https://tryfresh.app/#waitlist

## BaoLianDeng version history

### 6.1 (Aug 27, 2026)

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

Source: GitHub (notes: [github.com](https://github.com/madeye/BaoLianDeng/releases/tag/v6.1)), read 2026-11-25.

### 5.5 (May 9, 2026)

See What's new above.

### 5.4 (Apr 24, 2026)

**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 (notes: [github.com](https://github.com/madeye/BaoLianDeng/releases/tag/v5.4)), read 2026-11-25.

### 5.3 (Apr 19, 2026)

BaoLianDeng v5.3 (build 54)

Source: GitHub (notes: [github.com](https://github.com/madeye/BaoLianDeng/releases/tag/v5.3)), read 2026-11-25.

### 5.2 (Apr 10, 2026)

- 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 (notes: [github.com](https://github.com/madeye/BaoLianDeng/releases/tag/v5.2)), read 2026-11-25.

### 5.1 (Apr 9, 2026)

- 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 (notes: [github.com](https://github.com/madeye/BaoLianDeng/releases/tag/v5.1)), read 2026-11-25.

### 5.0 (Apr 7, 2026)

- 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 (notes: [github.com](https://github.com/madeye/BaoLianDeng/releases/tag/v5.0)), read 2026-11-25.

### 4.0 (Apr 5, 2026)

- 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 (notes: [github.com](https://github.com/madeye/BaoLianDeng/releases/tag/v4.0)), read 2026-11-25.

### 3.1 (Apr 4, 2026)

- 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 (notes: [github.com](https://github.com/madeye/BaoLianDeng/releases/tag/v3.1)), read 2026-11-25.

### 3.0 (Mar 29, 2026)

- 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 (notes: [github.com](https://github.com/madeye/BaoLianDeng/releases/tag/v3.0)), read 2026-11-25.

## Details

- Latest version: 5.5
- Released: May 9, 2026
- Last checked: Nov 26, 2026, 21:18 UTC
- Website: https://madeye.github.io/BaoLianDeng/
- Homebrew cask: baoliandeng
