Skip to content
SkanaviLabsPublic

About

mullpod: standalone multi-exit Mullvad HTTP and SOCKS5 proxy for agents

Resources

Stars

7 stars

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mullpod

Mullvad VPN is a pretty unique service: it lets you use all of its exit servers via SOCKS5 once you connect to a single entry point over a WireGuard connection.
This makes it incredibly useful for many agentic and testing scenarios, however the network setup can be complicated. See Mullvad docs for details.

mullpod is a single executable that connects to a Mullvad entry point using an internal WireGuard process, hence does not require any additional network setup. It provides local HTTP and SOCKS5 proxies with basic routing, allowing each connection to be routed through any of Mullvad's ~530 servers based on the proxy username.

Warning: while mullpod doesn't resolve domain names you visit through your system resolver (the only exception is a one-time Mullvad API lookup on the very first run; see DNS), it's a convenience, not a network isolation tool: don't rely on it for strict isolation. See Network isolation for details.

Table of contents

Use

Run mullpod (see Setup), then point any HTTP or SOCKS5 client at one of its ports. The proxy username picks the exit; see the examples below for curl, shell tooling and browsers.

curl and scripts

Proxy username = <exit>[_<session>], password = anything (unless PROXY_PASSWORD is set). HTTP and SOCKS5 are both available; use socks5h:// so hostnames are resolved through the proxy as well.

curl -x http://de:[email protected]:8090 https://am.i.mullvad.net/json            # any German server
curl -x http://us-nyc:[email protected]:8090 https://am.i.mullvad.net/json        # any New York server
curl -x http://se-sto-wg-001:[email protected]:8090 https://am.i.mullvad.net/json # exactly this server
curl -x http://any:[email protected]:8090 https://am.i.mullvad.net/json           # any server, new one each time
curl -x http://de_job1:[email protected]:8090 https://am.i.mullvad.net/json       # German, same IP for session job1
curl -x socks5h://jp:[email protected]:8090 https://am.i.mullvad.net/json         # SOCKS5 on the same port
# Optional listeners (commented out in config.yaml), e.g. a credential-free fixed exit:
# curl -x http://127.0.0.1:8083 https://am.i.mullvad.net/json               # fixed port, Germany

Tools that read proxy environment variables (SDKs, agents, package managers) can be pointed at the same port for the lifetime of a shell or container:

export HTTPS_PROXY=http://any_agent1:[email protected]:8090
export HTTP_PROXY="$HTTPS_PROXY"

Only programs started in that shell use the proxy; everything else on the machine keeps its normal route. Give each agent or job its own session (_agent1, _job42) so its exit stays put for the whole run.

Exits use Mullvad's own identifiers, the same ones as in the Mullvad app, relay list and server hostnames:

exit example picks
country code de, us, gb a server in that country
city code <cc>-<city> de-fra, us-nyc a server in that city
server hostname de-fra-wg-001 exactly that server, and the session's server (see Sessions)
any any any server
alias eu, nordic any server in the alias (config.yaml)
current current one hop: leave via the tunnel's entry server
default default_s1 the default chain (rules → port → default_exit)

Case doesn't matter. curl -s '127.0.0.1:8088/exits?servers=1' lists every country code, city code and hostname.

Sessions

A session gives a client a stable IP. Sessions are a convenience, not access control: any client using the same session name shares its server, and nothing stops a client from redefining a session.

  • Without a session: each new connection may get a different server.
  • With a session (_<anything>, e.g. de-fra_job42): the session has one current server.
    • Exit contains it: a request whose exit contains the current server keeps using it.
    • Exit doesn't contain it: the request picks a server in its exit, and that becomes the session's server until a later request moves it again.
    • Exact server name: always uses that server, and makes it the session's server.
curl -x http://de-fra-wg-005_job:[email protected]:8090 …   # session "job" → de-fra-wg-005
curl -x http://de-fra_job:[email protected]:8090 …          # → de-fra-wg-005 (contains it)
curl -x http://any_job:[email protected]:8090 …             # → de-fra-wg-005
curl -x http://jp_job:[email protected]:8090 …              # → jp-tyo-wg-002: session moves to Japan
curl -x http://any_job:[email protected]:8090 …             # → jp-tyo-wg-002
curl -x http://de_job:[email protected]:8090 …              # → a German server: session moves to Germany
  • Idle timeout: a session is forgotten after 10 min idle (sticky.ttl), or at once with POST /forget?session=job. A session with an open connection never expires; its idle time starts when its last connection closes, so long keep-alive connections keep their server. A connection that moves no bytes for idle_timeout (default 10 min) is closed, so an abandoned one can't pin a session forever.
  • If the current server fails: the next request with a broad exit moves the session to a healthy server. An exact server name always uses its server.
  • Fixed ports (8081–8084, commented out in config.yaml by default) have a built-in session per port. It's kept separately for each exit, so a per-domain rule that sends some sites elsewhere doesn't move the port's main IP.

Browsers

Chromium can't authenticate to SOCKS5, so point browsers at the HTTP port. Give every context or page its own session, otherwise the connections of a single page load can spread across exits.

Playwright (Chromium): the launch-level proxy is required for per-context proxies, and each context gets its own session:

browser = p.chromium.launch(proxy={"server": "http://127.0.0.1:8090"},
                            args=["--force-webrtc-ip-handling-policy=disable_non_proxied_udp"])
ctx = browser.new_context(proxy={"server": "http://127.0.0.1:8090",
                                 "username": "de-fra_ctx1", "password": "x"})

Puppeteer: launch with the proxy, then authenticate the page:

const browser = await puppeteer.launch({args: ["--proxy-server=http://127.0.0.1:8090"]});
const page = await browser.newPage();
await page.authenticate({username: "de-fra_ctx1", password: "x"});

Plain Chrome: --proxy-server=http://127.0.0.1:8090; the port answers 407, so Chrome prompts for the proxy username (de-fra_ctx1, any password). Or use --proxy-pac-url=http://127.0.0.1:8088/proxy.pac. To skip the prompt, enable a fixed-exit listener in config.yaml (e.g. us on 127.0.0.1:8081) and point Chrome at that port.

Exit proxies are TCP-only, so QUIC and UDP WebRTC don't go through mullpod; the Chromium flag above disables non-proxied UDP. See Caveats.

Ports (loopback by default; every port speaks HTTP and SOCKS5)

port
8090 main; proxy username selects the exit. HTTP without credentials gets 407 so browsers send the username
8088 control API

The shipped config.yaml opens only the main listener. It also contains commented examples for a credential-free port (1080) and fixed-exit ports (8081–8084); uncomment one to open it. Every open listener serves both HTTP and SOCKS5.

Ports are set per listener in config.yaml, each with an explicit host:port address; the shipped file uses 8090 for the main port (8080 is often already taken) and binds everything to 127.0.0.1. IPv4, IPv6 and hostnames work (192.168.1.20:8091, [::1]:8092); IPv6 literals must be bracketed. Wildcards (0.0.0.0, ::) and hostless addresses (:8090) are rejected, because Mullvad's exit proxies have no auth. Restart after editing.

make verify and make smoke read the ports from the running instance. Without PROXY_PASSWORD, mullpod warns at startup for every port on a non-loopback address.

Crawlers and parallel workers

A target that rate-limits per IP can be spread over many exits. What matters most:

  • Wait for /health to return 200 before starting. Until the tunnel is up the proxy answers every request with an error straight away.
  • Use keep-alive. Through a proxy, every new connection pays for a CONNECT, a hop to the exit and a TLS handshake: often over a second, against a fraction of that for a request on an open connection. A client that opens a connection per request is several times slower.
  • One session per worker (any_w1 … any_wN, or us_w1 … for a country), and keep each worker on its own session. Sharing sessions round-robin across workers keeps reopening connections.
  • Expect a slow first request on each new session; warm the pool up before measuring.
  • Rotate on throttling. A server that a target has been hitting for a while can start getting 429s. Change that worker's session name (us_w1 → us_w1_2; everything after the first _ is the session) to move it to a fresh server.
  • Pace each worker. A burst rate is not what a target tolerates for hours; measure over a long run.

mullpod sees only the tunnel, not the target: inside an HTTPS CONNECT the response is encrypted, so result="ok" in the logs and metrics means the connection worked, not that the target answered 200. Count status codes in the client. GET /sessions shows which server each worker is on, without any network traffic.

Control API

GET endpoints are read-only; changes need POST. Every endpoint, parameter, field and status code is in the API reference.

curl -s 127.0.0.1:8088/health                # 200 once the tunnel is up; includes version
curl -s 127.0.0.1:8088/exits                 # ?servers=1 for hostnames
curl -s '127.0.0.1:8088/ip?exit=se-sto'      # which IP/server a selector gets (live check)
curl -s '127.0.0.1:8088/ip?session=us_w1'    # a session's IP; takes a full username too
curl -s 127.0.0.1:8088/sessions              # live sessions: server, open conns, TTL left
curl -s '127.0.0.1:8088/sessions?name=w1'    # one session (by session name, not username)
curl -s -XPOST '127.0.0.1:8088/forget?session=job42'   # forget a session
curl -s 127.0.0.1:8088/metrics               # prometheus - compatible metrics
curl -s -XPOST 127.0.0.1:8088/tunnel/switch  # move the tunnel to another tunnel.entry server

/ip connects to the IP-check URL through the exit, so it takes a second or more. It uses a session's current server if it has one, but never creates or moves a session; with an exit that doesn't contain the session's server it reports a server from that exit instead (session_live says whether the session exists). /sessions is instant and sends nothing.

Every response through the HTTP proxy carries X-Mullvad-Server (on CONNECT, in the 200 reply). Logs are one JSON line per connection, on stdout; -log <file> also appends them to a file. Each line has ms (how long the connection was open) and dial_ms (how long reaching the target through the exit took).

What it is

Every Mullvad WireGuard server runs a SOCKS5 proxy, and you can reach all of them through a single WireGuard connection. With one tunnel to any one server, you can leave the internet from any of Mullvad's ~530 servers in 50 countries, or from all of them at once, connection by connection.

Using that directly is tedious. You need to:

  • look up each server's internal proxy address;
  • keep the tunnel up;
  • point every tool at the right 10.124.x.x:1080.

mullpod is a thin proxy and router that does this for you. You choose the exit with a proxy username (de, us-nyc, se-sto-wg-001, any) on one local port. On top of that it gives you sticky sessions, failover and a plain HTTP proxy for browsers that can't use SOCKS5 authentication.

It's a single native binary that holds the Mullvad WireGuard tunnel inside its own process. Your machine does not connect to Mullvad; only traffic you send to these ports does.

Use cases

  • Agents and LLM tooling. Point a framework or SDK at HTTPS_PROXY=http://any_agent1:[email protected]:8090. Every tool call and page fetch leaves from a Mullvad exit, and the _agent1 session keeps one IP for the whole task, so a run is reproducible and easy to follow in the logs.
  • Fan-out work. Run 30 workers with any_w1 … any_w30: each keeps its own stable server, while requests without a session spread over exits and no single IP sees the whole burst. Dead servers are benched and retried elsewhere automatically.
  • Geo-specific results. See what a search page, price, store listing or ad looks like from a country (jp) or a city (de-fra), and move a session between them mid-run.
  • Browser automation. Playwright selects an exit per context over HTTP, Puppeteer via page.authenticate; plain Chrome uses the main port with the username prompt (--proxy-server=http://127.0.0.1:8090) or the PAC file (/proxy.pac). No SOCKS5 authentication needed.
  • One process tree through Mullvad. Export HTTPS_PROXY in one shell or container and only programs started there are affected; the rest of the machine keeps its normal route. No root, no TUN device, no system-wide tunnel.
  • Scheduled jobs and CI. Keep one long-running process and give each job a session name instead of shipping a WireGuard config per runner. POST /tunnel/switch moves the entry server when a network path degrades.
  • Checking your own egress handling. Verify that a client honours proxy settings, fails over, or rotates region — /ip?exit=... shows the exact server and IP a selector gets.

Sessions are the natural unit: one per agent, worker, tenant or job. Any request can move a session to another exit, and later broad requests follow it. See Caveats for the limits that matter here (TCP only, shared exit IPs, CAPTCHAs).

Network isolation

This is not a network isolation tool. mullpod only covers traffic that's sent to it. Anything that ignores the proxy goes out from your real IP with no warning: other code, tools, DNS lookups, WebRTC. If your application or agent must never touch the internet except through Mullvad, don't rely on this. Use system mullvad client or run the app itself inside a container whose only route out is a Mullvad WireGuard tunnel with a kill switch:

  • Gluetun (qmcgaw/gluetun) has the kill switch built in. Attach the agent's container with network_mode: service:gluetun.
  • linuxserver/wireguard has no kill switch until you add one. Without your own firewall rules in wg0.conf, traffic leaks when the tunnel drops.

How it works

Every Mullvad WireGuard server runs a SOCKS5 proxy at its own internal address (<cc>-<city>-wg-socks5-NNN.relays.mullvad.net → 10.124.x.x:1080), and every proxy is reachable from any Mullvad tunnel. So one tunnel is enough: the proxy picks an exit per connection by dialing a different 10.124.x.x:1080.

client → 127.0.0.1 → mullpod ─ in-process WireGuard tunnel → entry server → exit's SOCKS5 → internet
  • Tunnel: wireguard-go with a userspace network stack. No root, no TUN device, no Docker. The stack exists only inside the process, so nothing else on the machine can use it and the proxy has no other route out.
  • Fails closed: the proxy never dials the internet directly. While the tunnel is down, requests fail at once with 503, and no exit server is blamed.
  • Entry server: chosen from tunnel.entry, a Mullvad code such as us-mia, se or de-fra-wg-001. Pick one near you.
  • Tunnel health: probes 10.64.0.1:1080 (Mullvad's internal DNS/proxy endpoint, reachable from any tunnel) every 10 s. After 3 failures in a row it moves to another entry server matching tunnel.entry. POST /tunnel/switch moves it by hand.
  • Relay list: loaded from the Mullvad API, cached in data/relays.json (catalog.cache; set it to "" to keep the list in memory only), and refreshed through the tunnel every 6 h. The entry server's WireGuard key and IP come from this list, so on the very first run (no cache) it's fetched once over the normal network (tunnel.bootstrap_direct).
  • Ports: every port speaks HTTP and SOCKS5. The exit proxies' own hostnames (*-wg-socks5-NNN.relays.mullvad.net) are resolved inside the tunnel, via Mullvad DNS 10.64.0.1. For the sites you visit, see DNS.
  • Choosing an exit: round-robin, or sticky per session.
    • Breaker: a dead exit proxy is benched (30 s doubling to 10 min), and the request retries once on another server.
    • Errors: a SOCKS error reply is the target's fault and is passed through without penalty.

DNS

mullpod never looks up the sites you visit through your system resolver. Where the lookup happens depends on how the client hands over the address:

client sends who resolves the target hostname
HTTP proxy request (http:// proxy, incl. CONNECT) the exit server: mullpod passes the hostname on to the exit's SOCKS5 proxy unresolved
SOCKS5 with a hostname (socks5h://, browsers with "proxy DNS" on) the exit server, same as above
SOCKS5 with an IP (socks5://, browsers with "proxy DNS" off) your machine, before it ever reaches mullpod: the lookup goes out over your normal network and resolver; only the connection is proxied
HTTP, or SOCKS5 with a hostname, with exit current Mullvad DNS 10.64.0.1, inside the tunnel

mullpod's own lookups:

  • Exit proxy addresses (*-wg-socks5-NNN.relays.mullvad.net): via Mullvad DNS 10.64.0.1, inside the tunnel, and cached.
  • Entry server: dialed by the IP in the relay list, no lookup.
  • Relay list refresh: through the tunnel.
  • First run without a cache (tunnel.bootstrap_direct): the Mullvad API is fetched over the normal network, so that one hostname is looked up through your system resolver. Set bootstrap_direct: false once data/relays.json exists if you want none.

DNS lookups by anything not configured to use mullpod are outside its reach; see Network isolation.

Setup

Needs Go (brew install go).

  1. On https://mullvad.net/en/account/wireguard-config, generate a key for a new device, pick any server, and download the config file.

  2. cp .env.example .env, then set WIREGUARD_PRIVATE_KEY and WIREGUARD_ADDRESSES (IPv4 part only, e.g. 10.66.12.34/32) from that config.

  3. In config.yaml, set tunnel.entry to a Mullvad code near you (e.g. us-mia), change any port that's taken on your machine, and replace 127.0.0.1 in each listener (and api) with the interface your clients use if they aren't on loopback.

  4. Run it:

    make run

    This builds bin/mullpod and runs it in the foreground. Logs (one JSON line per connection) go to the terminal; Ctrl-C stops it. ./bin/mullpod -version prints the build version and the license notice; ./bin/mullpod -licenses prints the full copyright and license notices (mullpod's own and its third-party dependencies).

  5. In another terminal:

    make verify

Running it in the background: run it under a service manager rather than a terminal, so it restarts if it ever exits and keeps a log you can read afterwards. Fill in the paths in dist/mullpod.plist (macOS launchd) or dist/mullpod.service (Linux systemd); each file has its install commands at the top. Both run bin/mullpod -log data/mullpod.log. If you do run it from a terminal with a pipe (./bin/mullpod | tee …), add -log: the file keeps the log if the terminal or tee goes away. mullpod logs signal received, shutting down and stopped lines whenever it exits normally, and crash output goes to the -log file.

.env vs config.yaml:

  • .env holds only secrets and settings specific to your Mullvad device: WIREGUARD_PRIVATE_KEY, WIREGUARD_ADDRESSES, and the optional PROXY_PASSWORD.
  • config.yaml holds every other setting: entry server, listener addresses, exits, aliases, timeouts.
  • No overlap: other keys in .env are ignored with a warning at start-up, and the environment never overrides config.yaml.

Both are read from the current directory; ./bin/mullpod -config path -env path points elsewhere. Listener and API addresses must include a host; ":port" is rejected because it would bind every interface.

Outbound firewalls (Little Snitch, LuLu): allow bin/mullpod to connect out:

  • UDP port 51820 to Mullvad's servers (the tunnel);
  • TCP 443 to api.mullvad.net (the first-run relay list).

Until then it can't connect, and /health stays down. Rebuilding the binary may make the firewall ask again.

Config

config.yaml sets the listeners (each with its own bind address), default exit, aliases, per-domain rules, sticky TTL, breaker and timeouts (dial_timeout, idle_timeout). It's read at startup, so restart the process after editing.

Speed

mullpod runs at about the same speed as a WireGuard Docker container (kernel WireGuard). Side-by-side tests haven't shown a systematic difference.

The limit is how Mullvad's network routes traffic. For the best results:

  • Entry: set tunnel.entry to the Mullvad location closest to you.
  • Exit: pick an exit close to that entry. Speed through an exit's SOCKS proxy falls with distance, and current (no second hop) is the fastest.

Far exits are slower but fine for agents, page loads and API calls. To measure a path:

curl -s -o /dev/null -w '%{speed_download}\n' -x http://de-fra_t:[email protected]:8090 \
  'https://speed.cloudflare.com/__down?bytes=20000000'   # bytes/s

Caveats

  • TCP only: the exit proxies don't support UDP, so no QUIC or UDP WebRTC. Use the WebRTC flag above in browsers.
  • Two hops: traffic goes entry → exit, about 0.8 s for a US→DE request. Choose the entry (tunnel.entry) near you; current is one hop. All exits share the entry server's bandwidth.
  • Throughput drops with distance to the exit. See Speed.
  • Shared VPN IPs: expect CAPTCHAs on some sites; change the session to get a new server.
  • No auth on Mullvad's proxies: keep listener addresses on 127.0.0.1, or set PROXY_PASSWORD before exposing the ports.
  • One Mullvad device slot: the stack uses one. Give it its own WireGuard key.
  • Session id for browsers: without one, the connections of a single page load spread across servers.

Develop

make build writes bin/mullpod, stamped with git describe (-version, /health); a plain go build in a checkout reports dev-<commit>; go install github.com/SkanaviLabs/mullpod@latest installs it into $GOBIN instead. The binary still reads .env and config.yaml from the working directory.

Releases are git tags (v1.1.0); CHANGELOG.md lists what changed in each.

make test checks gofmt, runs go vet, and runs the tests with -race and coverage. Coverage is about 80% of statements; the uncovered part is mostly main() wiring and the periodic relay-list refresh, which the live checks exercise. CI runs the same target on Ubuntu (.github/workflows/test.yml); the live checks need a real Mullvad account and are not part of it.

layer what how
unit selectors, sessions (one current server, moves), TTL and cap, rotation, breaker backoff, HTTP/SOCKS5 inbound, PROXY_PASSWORD, control API, relay-list fetch and cache, DNS caching, config parsing make test, with fake exit proxies
tunnel real WireGuard handshakes against in-process entry servers: traffic, dead-server failover, Switch, fail-fast while down make test (TestEmbeddedTunnelFailover)
live 25 checks against real Mullvad servers: exits per country, rotation, sticky, session moves, 407 make verify
live, tunnel move to another entry server live; traffic and current follow make verify (step 6)
browser Playwright page load stays on one exit make smoke

Not covered: long-running behaviour (6-hourly relay refresh, many-hour uptime, sustained load), and a real network outage against live Mullvad. Blocking UDP on macOS needs root, so the live test switches the entry server instead. The in-process tunnel test does cover failover.

License

MIT — see LICENSE. Free to use, modify and redistribute, including commercially, provided the copyright notice and license text are kept.

Copyright (c) 2026 Stanislav Yurin, AI Security Engineering LLC dba Skanavi.

mullpod is an independent project. It is not affiliated with, endorsed by, or sponsored by Mullvad VPN AB or the WireGuard project.

Mullvad. "Mullvad" and "Mullvad VPN" are trademarks of Mullvad VPN AB. They are used here only to identify the service mullpod connects to. Using Mullvad's network is subject to Mullvad's terms of service and requires a Mullvad account and device slot. This project's MIT license does not grant any rights to Mullvad's service, network, name or logo.

WireGuard. "WireGuard" and the "WireGuard" logo are registered trademarks of Jason A. Donenfeld. mullpod uses the wireguard-go library and does not include the WireGuard logo or claim to be the official WireGuard software.

Third-party software. mullpod's own code is MIT-licensed. Its dependencies keep their own licenses (MIT, Apache-2.0 and BSD-3-Clause); the full texts and copyright notices are in THIRD_PARTY_NOTICES.md. The same notices are embedded in the binary and can be printed with mullpod -licenses.

About

mullpod: standalone multi-exit Mullvad HTTP and SOCKS5 proxy for agents

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages