# Telegram如何设置代理

## Telegram设置代理问题

使用非全局模式时，Telegram不能联网

1. Telegram分为 Mac Windows Android IOS 四个版本 每个版本都可设置代理
2. 但不是所有版本都需要设置，请根据实际情况。

### 1.查看本地代理信息

**请先确定自己成功科学联网。这里以MAC为例，其余客户端均类似。**

我使用的是 ClashX (每个软件的本地代理端口都不一致，代理端口请查看软件设置)

![](https://1258560550-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7znwxymXBX83heMKym%2Fuploads%2FC02Eo2sI0405MlKrHxAM%2Fimage.png?alt=media\&token=4c0832ba-623a-4cf4-87cb-1c004403acf3)

这里显示了 代理端口为7800，不同软件的端口会不一样。

### 2.设置Telegram Proxy

&#x20;(1. 打开Telegram -> 「Date and Storage」 -> 「Use Proxy」

(2. 添加 Telegram Proxy

![](https://1258560550-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7znwxymXBX83heMKym%2Fuploads%2Fufgk7W3vh7RzTdogss6f%2Fimage.png?alt=media\&token=794f362f-c7d6-4953-8205-7347df532c2c)

(3. 选择 Socks5 （不同客户端显示不一样，但是Socks5或Socks每个客户端都会有）

(4. 地址: 127.0.0.1 端口: 7890

![](https://1258560550-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7znwxymXBX83heMKym%2Fuploads%2FEBT2BPH6rDeL2USIbh7O%2Fimage.png?alt=media\&token=9cbd7d87-cb03-40e9-a314-aec68a48d375)

## 3. 完成设置

![](https://1258560550-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7znwxymXBX83heMKym%2Fuploads%2FIRRfAQTvc4fAHKYEGiGA%2Fimage.png?alt=media\&token=9f78f715-a812-4f83-885f-de4b8e47b7b6)


---

# 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://doc.flyintpro.com/faq/allfaqs/telegram.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.
