# 网关模式翻墙

在你的本地局域网内部署了一台运行了Surge【Mac】或者是Clash【Windows】的电脑当做网关，可以接管局域网里面其他所有网络设备的所有流量同时翻墙。

优点

* 方便
* 性能碾压路由器甚至软路由
* 便于集中管理

缺点

* 需要一台电脑长期开机来保证网关模式的运行【就像一台路由器一样】

网关模式翻墙要大幅优于软路由，也大幅优于刷了第三方固件的路由器【不少翻墙软件都有网关模式—允许来自局域网的连接】


---

# 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://gfw.gujiakai.top/fan-qiang-shou-duan/wang-guan-mo-shi-fan-qiang.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.
