> ## Documentation Index
> Fetch the complete documentation index at: https://docs.joinmassive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

> We support HTTPS, HTTP, and SOCKS5

<Info>
  **Attention:** Make sure to carefully check that your credentials and port number are correct for your auth type.
</Info>

## HTTPS

How to authenticate using HTTPS.

|                               |       |
| ----------------------------- | ----- |
| HTTPS Port                    | 65535 |
| Minimum supported TLS version | 1.2   |

```bash theme={null}
curl --proxy https://network.joinmassive.com:65535 -U '{PROXY_USERNAME}:{API_KEY}' https://cloudflare.com/cdn-cgi/trace
```

<Info>
  If you see errors like <code>curl: (35) SSL connect error</code>, check that your client supports TLS 1.2 or higher.
</Info>

## HTTP

How to authenticate using HTTP.

|           |       |
| --------- | ----- |
| HTTP Port | 65534 |

```bash theme={null}
curl --proxy http://network.joinmassive.com:65534 -U '{PROXY_USERNAME}:{API_KEY}' https://cloudflare.com/cdn-cgi/trace
```

## SOCKS5

How to authenticate using SOCKS5.

|             |       |
| ----------- | ----- |
| SOCKS5 Port | 65533 |

```bash theme={null}
curl -x socks5h://network.joinmassive.com:65533 -U '{PROXY_USERNAME}:{API_KEY}' https://www.cloudflare.com/cdn-cgi/trace
```

## Firewalled Ports

If port 65,535 is closed on your network, try port 1,080.

|      |      |
| ---- | ---- |
| Port | 1080 |

```bash theme={null}
curl -x https://network.joinmassive.com:1080 -U '{PROXY_USERNAME}:{API_KEY}' https://cloudflare.com/cdn-cgi/trace
```
