curl Proxy Configuration Guide
Configure HTTP, HTTPS, and SOCKS proxies with curl — flags, env vars, auth, and debugging CONNECT tunnels.
Configure HTTP, HTTPS, and SOCKS proxies with curl — flags, env vars, auth, and debugging CONNECT tunnels.
Command-line flags
Use -x http://host:port for HTTP proxies. curl handles CONNECT for HTTPS automatically.
SOCKS proxies
--socks5-hostname resolves DNS at proxy. Prefer hostname variant for consistent egress DNS.
Related: SOCKS versions.
Environment variables
HTTP_PROXY and HTTPS_PROXY work for many scripts. ALL_PROXY sets a fallback.
Related: proxy env vars guide.
Need proxies at scale?
proxies.st offers health-checked HTTP and SOCKS pools with dashboard access, API keys, and plain-text bulk feeds for pipelines.
Related guides
wget Proxy Setup
Use wget with HTTP proxies via environment variables and .wgetrc — batch downloads through rotating pools.
Rotating Proxies for Web Scraping at Scale
Rotation strategies, session stickiness, anti-bot considerations, and scraper architecture for high-volume crawling.