explaingit

proxybasehq/socks5-bridge

Analysis updated 2026-05-18

0RustAudience · developerComplexity · 2/5Setup · easy

TLDR

A local proxy tool that lets Chrome use a username-and-password-protected SOCKS5 proxy, which Chrome cannot connect to directly.

Mindmap

mindmap
  root((socks5-bridge))
    What it does
      HTTP to SOCKS5
      Local proxy bridge
      Auth handling
    Tech stack
      Rust
      TOML config
      Admin API
    Use cases
      Chrome plus SOCKS5 auth
      Background daemon
      Health checks
    Audience
      Developers
      Privacy tool users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Let Chrome connect to an authenticated SOCKS5 proxy it can't reach directly.

USE CASE 2

Run a local HTTP-to-SOCKS5 bridge as a background service on macOS.

USE CASE 3

Check bridge health and traffic stats through a local admin API.

What is it built with?

RustTokioAxum

How does it compare?

proxybasehq/socks5-bridge04amanrajj/netwatch0xr10t/pulsefi
Stars000
LanguageRustRustRust
Setup difficultyeasymoderatehard
Complexity2/53/54/5
Audiencedeveloperops devopsdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Currently built and tested for macOS only.

In plain English

socks5-bridge solves a specific annoyance with Google Chrome: the browser cannot connect to a SOCKS5 proxy server that requires a username and password. Many privacy or business proxy services use exactly that kind of authenticated SOCKS5 connection, leaving Chrome unable to use them directly. This small Rust program sits between Chrome and that proxy, translating the connection so both sides are happy. It works by running a plain HTTP proxy on your own computer, listening only on your local machine by default. Chrome is told to use this local address as its proxy, which is a format Chrome already understands natively. Behind the scenes, the bridge takes each request coming from Chrome and forwards it through the authenticated SOCKS5 server, handling the username and password exchange itself so Chrome never has to. Everything is controlled through a single configuration file. You set the address the bridge should listen on, the address and credentials of the upstream SOCKS5 server, and a handful of safety and timeout settings, such as whether to allow only loopback connections and how many connections can be open at once. The tool also includes a small admin interface for checking whether the bridge is healthy and for gracefully shutting it down, plus a command that prints the exact command line flags you need to launch Chrome with the bridge already configured. Getting started means building the project with Rust's Cargo tool, copying the sample configuration file and filling in your proxy's address and login details, then running the bridge either in the foreground to watch its output or as a background service. A sample configuration file is also provided for running it automatically as a background service on macOS. As currently written, the tool is built and tested specifically for macOS, using operating system features tied to that platform for running as a background daemon.

Copy-paste prompts

Prompt 1
Help me configure socks5-bridge to connect Chrome to my authenticated SOCKS5 proxy.
Prompt 2
Explain how socks5-bridge translates Chrome's HTTP proxy requests into SOCKS5.
Prompt 3
Show me how to set up socks5-bridge as a macOS LaunchAgent.
Prompt 4
What config settings control which destinations socks5-bridge allows?

Frequently asked questions

What is socks5-bridge?

A local proxy tool that lets Chrome use a username-and-password-protected SOCKS5 proxy, which Chrome cannot connect to directly.

What language is socks5-bridge written in?

Mainly Rust. The stack also includes Rust, Tokio, Axum.

How hard is socks5-bridge to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is socks5-bridge for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.