> For the complete documentation index, see [llms.txt](https://leslieyon.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://leslieyon.gitbook.io/notes/windows/jie-zhu-clash-dui-vmware-xu-ni-ji-shi-xian-tou-ming-dai-li.md).

# 借助Clash对VMWare虚拟机实现透明代理

## 正文

众所周知，很多Linux系统设置代理非常繁琐，并且部分Linux安装期间无法设置代理

这导致相当多的Linux安装期间极度缓慢（是谁我不说）。

对于这个问题，不同的系统有不同解决方案，例如，换源等。

但这些方式依赖系统自身，而且我很懒😳

经过不断尝试方案，接下来给出一种可以~~一劳永逸的方案~~。

### 需要使用软件：Clash for Windows

![](/files/vtFxJzzPfSPtOPJxrkKU)

打开CFW首页的TUN设置，配置按照下图填写

![](/files/aSdxW8Sne1W57aZBacQT)

以后需要时，只需打开首页的TUN mode开关

![](/files/NwvrcGZRayfavJRh8S2d)

### 测试一下效果（此时虚拟机未配置任何形式的代理服务）

![](/files/kiQM88JjDyfqN5ZQMaI7)

![](/files/l1242RlCUENivKYEjNlF)

### 非常完美


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://leslieyon.gitbook.io/notes/windows/jie-zhu-clash-dui-vmware-xu-ni-ji-shi-xian-tou-ming-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.
