# Choose a proxy protocol

Select access protocols from HTTP Client, HTTPS CONNECT, SOCKS5 TCP, and DNS behaviors.

Current client access protocols are HTTP, HTTPS CONNECT, and SOCKS5 TCP. The protocol of the target URL and the proxy entry protocol are two different concepts.

## HTTP

- Suitable for browsers, curl, and common HTTP client libraries.
- When accessing an HTTPS target, the client usually initiates CONNECT.

## HTTPS CONNECT

- CONNECT Establishes a TCP tunnel to the target host.
- TLS handshakes are still verified by the client for the target certificate.
- Do not turn off certificate verification to hide configuration errors.

## SOCKS5 TCP

- Library suitable for general TCP clients or explicitly supporting SOCKS5.
- The domain name request uses the proxy-side DNS resolution option.

## Engineering choices

- Prioritize protocols that are natively supported by the client.
- Minimal validation is performed before the introduction of connection pools and concurrency.
