# 初始设置

用我们的反向连接入口提供的随机 IP 地址向 gw\.netnut.net:5959 发送请求。使用您的代理用户身份信息替换“用户名”和“密码”并输入相关站点 URL。 请注意，NetNut 动态住宅代理会自动轮换，为每个新请求分配一个新的 IP 地址。

cURL示例：

curl -x 用户名-res-any:密码@gw\.netnut.net:5959 "example.site.com"

NetNut 住宅代理支持 HTTP/HTTPS/SOCKS5 协议。点击[这里](https://help.netnut.io/netnut-documentation/netnut-proxies/residential-proxies/protocols)了解更多。

如果需要使用特定国家/地区的IP，您可以把字符串中的any替换成两个字母的国家/地区代码。 例如，需要指定荷兰的代理IP则添加 nl，如下例所示：

curl -x 用户名-res-nl:密码@gw\.netnut.net:5959 "example.site.com"

请参阅此处的[国家/地区代码列表](https://countrycode.org/)。 请注意，对于英国，NetNut 使用代码 UK，而不是 GB。

您可以根据您的请求定位城市和州。 例如，将 nl\_amsterdam 添加到用户字符串指定请求通过来自荷兰阿姆斯特丹的代理：

curl -x 用户名-res\_sc-nl\_amsterdam:密码@gw\.netnut.net:5959 "example.site.com"

您还可以指定美国州/城市配置。

在此处详细了解[城市/州级别](https://portal.netnut.io/states-and-cities)的代理定位选项。

&#x20;

发送请求将为您提供相同的代理 IP。为此，请将 sid-44575 添加到您的字符串中，如下例所示（可以是任何随机字符串）：

curl -x 用户名-res-<国家/地区代码>-sid-44575:密码@gw\.netnut.net:5959 "example.site.com"

请参阅我们的[集成指南](https://netnut.cn/integrations/)以了解第三方设置和配置。 NetNut 支持第三方工具，例如：MultiLogin、Web Scraper、Jarvee、Puppeteer 等。

\
&#x20;端点生成器提供了另一种设置住宅代理的方法：

1\. 登录仪表板

2\. 选择住宅代理，然后单击端点生成器

3\. 选择参数

4\. 使用提供的端点将 NetNut 代理与第三方工具集成

&#x20;

登录仪表板以获取附加功能，例如跟踪使用情况统计信息和子用户信息。

如有任何疑问，请联系您的个人客户经理或我们的支持团队：<support@netnut.io>。

***


---

# 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://help.netnut.io/netnut-documentation/netnut-documentation-chn/netnut-dai-li/dong-tai-zhu-zhai-dai-li/chu-shi-she-zhi.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.
