# 设置加速规则

告诉我们您的服务使用的协议和端口，以便 ZGA 能够正确地转发用户请求：

**HTTP 和 HTTPS**：默认端口为 80 和 443（可以修改）；如果您选择 HTTPS，您需要上传必要的密钥和证书。\
**TCP 和 UDP**：默认端口为 80 和 53（可以修改）。\
如果您在上述步骤 **1** 中选择了 IP 地址作为用户访问方法，这里将仅提供 TCP 和 UDP 选项。


---

# 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.console.zenlayer.com/welcome/cn/global-accelerator/get-started/create-an-accelerator/set-acceleration-rules.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.
