When using the Gemini desktop app on macOS, turning on the system proxy alone doesn’t always work. Switching to global TUN mode to capture all system traffic can easily conflict with internal or corporate apps. In that situation, the cleanest approach is to route only this specific app through a proxy.
Proxifier has long been the go-to tool for per-app proxying, though it’s paid software. Recently I tried ProxyBridge, an open-source alternative that uses a macOS Network Extension to intercept TCP and UDP traffic for specific processes and forward it to a SOCKS5 or HTTP proxy. It works nicely for the Gemini desktop app, so here’s a quick walkthrough of the setup.
Install and Enable the Network Extension
You can download the .pkg installer from GitHub Releases, or install it via Homebrew:
1 | brew install --cask proxybridge |
After installation, you need to allow ProxyBridge’s network extension in macOS System Settings so it can intercept application traffic.
Open System Settings → General → Login Items & Extensions, locate ProxyBridge (Network Extension) in the list, and click the i icon on the right:

Toggle Network Extensions on in the popup dialog, then click Done:

Add a Local Proxy
Next, configure your local proxy server in ProxyBridge.
Open Proxy Settings and click + Add in the upper-right corner:

Using a typical local Clash proxy (127.0.0.1:7890) as an example, fill in the following fields:
- Proxy Type:
SOCKS5(required if you want to proxy UDP traffic in your rule) - Proxy IP/Domain:
127.0.0.1 - Proxy Port:
7890(replace with your local proxy’s actual port) - Username / Password: Leave empty if your local proxy doesn’t require authentication
- Let proxy resolve DNS (send hostname): Recommended to turn on so the proxy resolves hostnames directly (make sure
Enable DNSis also enabled in the Proxy menu)

Click Save. You can mark it as the default proxy (star icon) and click Test in the list to verify connectivity.
Add a Rule for the Gemini Desktop App
Once the proxy is set up, create a forwarding rule specifically for the Gemini desktop app:
- Rule Name:
gemini(any name you like) - Process / Bundle Identifier:
com.google.GeminiMacOS;Gemini;GeminiAppLauncher - Target hosts:
* - Target ports:
* - Protocol:
BOTH(proxies both TCP and UDP; note that UDP only works with a SOCKS5 proxy that supports UDP)

Including the bundle ID, main process name, and launcher process name in Process / Bundle Identifier ensures related subprocesses aren’t missed. Click Save Rule when done.
Verify That Traffic Goes Through the Proxy
Open (or restart) the Gemini desktop app, then switch to the Connections tab in ProxyBridge’s main window and filter by gemini:

If you see Gemini connections (such as www.googleapis.com:443 and DNS queries) being forwarded to SOCKS5 127.0.0.1:7890, the proxy rule is working.
Wrapping Up
The whole setup only takes a few minutes. You don’t have to turn on global TUN mode or buy Proxifier—just route the Gemini desktop app’s traffic to your local proxy and leave ProxyBridge running quietly in the background. If you run into similar per-app proxy issues on macOS, it’s worth a try.