The universal command-line HTTP tool. Test KnoxProxy from any terminal with a single curl command.
Use the -x flag to route through KnoxProxy.
curl -x http://USER:PASS@gw.knoxproxy.com:7000 https://httpbin.org/ipAdd country to username.
curl -x http://USER-country-us:PASS@gw.knoxproxy.com:7000 https://httpbin.org/ipUse the SOCKS5 gateway port.
curl --socks5 USER:PASS@gw.knoxproxy.com:7001 https://httpbin.org/ipDebug connection issues.
curl -v -x http://USER:PASS@gw.knoxproxy.com:7000 https://httpbin.org/ipAdd targeting headers.
curl -x http://USER:PASS@gw.knoxproxy.com:7000 \
-H "X-KnoxProxy-Country: de" \
-H "X-KnoxProxy-City: berlin" \
https://httpbin.org/ipVerify your exit IP.
curl -x http://USER:PASS@gw.knoxproxy.com:7000 https://httpbin.org/ip#!/bin/bash
# KnoxProxy + cURL -- complete examples
PROXY="http://USER:PASS@gw.knoxproxy.com:7000"
# Basic request
curl -x "$PROXY" https://httpbin.org/ip
# Country-targeted
curl -x "http://USER-country-us:PASS@gw.knoxproxy.com:7000" https://httpbin.org/ip
# Sticky session
curl -x "http://USER-session-s1:PASS@gw.knoxproxy.com:7000" https://httpbin.org/ip
# SOCKS5
curl --socks5 "USER:PASS@gw.knoxproxy.com:7001" https://httpbin.org/ip
# With timeout and retry
curl -x "$PROXY" --connect-timeout 30 --retry 3 https://httpbin.org/ipEach curl invocation gets a fresh IP. For sticky sessions, add -session-{id} to the username.
| Problem | Fix |
|---|---|
| curl: (56) Proxy CONNECT aborted | Check credentials. URL-encode special characters in password. |
| curl: (7) Failed to connect to proxy | Verify port 7000 (HTTP) or 7001 (SOCKS5). Check firewall. |
USER-country-de-city-berlin-session-profile07Order matters -- geo flags before the session flag. The session name is free text; use the profile ID so the mapping is self-documenting. Password stays as issued; no flags belong there. HTTP on :7000, SOCKS5 on :7001, same credentials.
Use --socks5 flag: curl --socks5 USER:PASS@gw.knoxproxy.com:7001 https://target.com. Port 7001 is the KnoxProxy SOCKS5 gateway.
Yes, add proxy = "http://USER:PASS@gw.knoxproxy.com:7000" to ~/.curlrc. Every curl command will use this proxy by default.
Add -v (verbose) flag: curl -v -x PROXY_URL https://target.com. This shows the CONNECT tunnel setup and TLS handshake.
Yes, cURL output works normally. Use curl -x PROXY -s URL | jq to pipe JSON responses through jq or any other tool.
Free trial on rotating residential -- 1 minute setup, no credit card.