# 如何使用您的SOCKS5代理？

我們支持通過 API (IP白名單) 或用戶名/密碼進行SOCKS5代理身份驗證。您可以查看[驗證方式](/cn/dai-li-chan-pin/dai-li-pei-zhi-can-shu-shuo-ming/yan-zheng-fang-shi.md)的說明文檔，以熟悉該概念。

若要配置代理，請導航至儀表板上的SOCKS5代理 ＞ 代理設置部分。這裏顯示您當前的可用天數和今日可用IP數量。已提取使用的IP請參閱[24小時列表](/cn/dai-li-chan-pin/socks5-dai-li/24-xiao-shi-lie-biao.md)部分的指南。

<figure><img src="https://server.711proxy.com/static/ueditor/1735885504490415.png" alt=""><figcaption></figcaption></figure>

接下來，我們將通過詳細的屏幕截圖和清晰的說明，分別向您展示 API ( IP 白名單) 和用戶名/密碼的代理配置方法。

### API：通過白名單驗證獲取主機:端口

![socks5 proxies-api1-cn.png](https://server.711proxy.com/static/ueditor/1735888017319939.png)

1.單擊進入“API”儀表板，配置訪問參數。

2.將要訪問代理服務的 IP 地址添加到白名單，您可以查看 [IP 白名單](/cn/dai-li-chan-pin/dai-li-pei-zhi-can-shu-shuo-ming/ip-bai-ming-dan.md)的快速指南。

3.默認隨機分配國家，因此這裡不支持選擇代理來源的國家/地區。

4.選擇需要生成的代理數量，值爲 1 到 900 之間的任意整數。

5.選擇代理協議。

6.選擇數據格式和分隔符，或者保持默認選項。

7.點擊生成 URL。然後在右側的“獲取 API URL”部分，我們可以看到反映上述選擇的具體信息。

<figure><img src="https://server.711proxy.com/static/ueditor/1735888185766010.png" alt=""><figcaption></figcaption></figure>

8.生成URL 後，你可以選擇複製 URL 或者打開 URL，打開鏈接就可以看到生成的代理列表。您可以在 [API URL](/cn/dai-li-chan-pin/dai-li-pei-zhi-can-shu-shuo-ming/api-url.md) 頁面上了解更多信息。

{% hint style="warning" %}
列表中的IP地址是代理主機地址，並非實際使用時的代理IP。
{% endhint %}

### 用戶名/密碼：通過用戶身份驗證獲取代理列表

![socks5 proxies-user1-cn.png](https://server.711proxy.com/static/ueditor/1735888216111981.png)

1\. 單擊進入“用戶名/密碼”儀表板，配置訪問參數。

2\. 默認隨機分配國家，因此這裡不支持選擇代理來源的國家/地區。

3\. 選擇需要訪問代理的子賬戶，或者單擊“子賬戶管理”按鈕重新創建。您可以查看[子賬戶](/cn/dai-li-chan-pin/dai-li-pei-zhi-can-shu-shuo-ming/zi-zhang-hu.md)的快速指南。

4\. 這裏顯示的是您選擇的子賬戶對應的用戶名和密碼信息，用於訪問代理的身份憑證。

5\. 測試命令爲 cURL 示例，您可以將它粘貼到命令行中以快速測試您的代理設置。您可以在[測試命令](/cn/dai-li-chan-pin/dai-li-pei-zhi-can-shu-shuo-ming/ce-shi-ming-ling-curl-shi-li.md)頁面上了解更多信息。

![socks5 proxies-user2-cn.png](https://server.711proxy.com/static/ueditor/1735888332896127.png)

6\. 這裡是必不可少的一步，在右側的“獲取代理列表”部分，設置適合我們目標的正確格式以及需要的代理數量，單擊“生成”按鈕後，我們可以在代理列表看到反映上述選擇的具體信息，您可以在[代理字符串](/cn/dai-li-chan-pin/dai-li-pei-zhi-can-shu-shuo-ming/dai-li-zi-fu-chuan.md)頁面上了解更多信息。

7\. 在這裏，我們可以將創建的代理列表複製到剪貼板，也可以將其下載爲 .TXT 文件或者 .CSV 文件，您可以將此應用於任何應用程序或工具，然後就可以使用代理了。

如果您需要有關瀏覽器、代理管理器、工具等代理集成的更多資訊，請參閱[集成](/cn/di-san-fang-ji-cheng/fan-jian-ce-liu-lan-qi-ji-cheng.md)部分的快速指南。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.711proxy.com/cn/dai-li-chan-pin/socks5-dai-li/ru-he-shi-yong-nin-de-socks5-dai-li.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
