---
title: "Proxy configuration"
description: "Configure a network proxy for a Kitsune session."
canonical_url: "https://kitsune.carsxe.com/docs/guides/proxies"
markdown_url: "https://kitsune.carsxe.com/docs/guides/proxies.md"
last_updated: "2026-11-24"
x_farming_labs_generated_preamble: true
---

# Proxy configuration
URL: /docs/guides/proxies
LLM index: /llms.txt
Description: Configure a network proxy for a Kitsune session.

# Proxy configuration

To route a crawl through a proxy on your network, set `PROXY_URL` for the CLI or pass a proxy to `Kitsune.launch({ proxy })`. Keep credentials in environment variables.

## Formats

| Form | Example |
| --- | --- |
| URL | `http://user:pass@proxy.example:8080` |
| SOCKS URL | `socks5://user:pass@proxy.example:1080` |
| Auth shorthand | `user:pass@proxy.example:8080` or `proxy.example:8080@user:pass` |
| Colon-separated | `proxy.example:8080:user:pass` or `user:pass:proxy.example:8080` |
| Host and port | `proxy.example:8080` |

The default scheme is HTTP. Percent-encode reserved characters in credentials when you use URL syntax.

## Lists and precedence

A command-line `--proxy SPEC` takes precedence. The CLI checks `PROXY_URL`, `PROXIES`, then `PROXY_LIST` when the flag is absent. Lists accept newlines, commas, semicolons, or a JSON array. Each launched browser session selects one entry.

## Port restrictions

A proxy can respond to a general connectivity check while refusing a particular destination port. Confirm that your network policy allows the host and port you’re trying to reach. `bun run kitsune doctor` checks connectivity through the proxy against a test endpoint on port 443.

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
Docs-scoped sitemap: [/docs/sitemap.md](/docs/sitemap.md).
Well-known sitemap: [/.well-known/sitemap.md](/.well-known/sitemap.md).
