Test a proxy with curl

Use a single curl request to confirm DNS, TCP connectivity, authentication, and the outbound IP before testing a full application.

Steps

  1. Run curl -x http://USERNAME:PASSWORD@HOST:PORT https://api.ipify.org for an HTTP proxy.
  2. For SOCKS5 with proxy-side DNS resolution, use curl --proxy socks5h://USERNAME:PASSWORD@HOST:PORT https://api.ipify.org.
  3. Replace every uppercase placeholder with the dashboard value.
  4. Confirm that the returned IP differs from the direct connection when expected.

For account-specific values, use the endpoint, port, credentials, and location shown in your MaskProxy dashboard. Do not publish proxy credentials in screenshots, tickets, or public code repositories.