# clash verge 中 tun模式以及系统代理有什么区别(求大佬解释)

**URL:** <https://linux.do/t/topic/176408>\
**Category:** 开发调优\
**Tags:** 快问快答\
**Created:** [2024 年8 月 13 日 03:43 UTC](https://linux.do/t/topic/176408 "2024-08-13T03:43:18Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

作者： ![Sammy](https://cdn.ldstatic.com/user_avatar/linux.do/sammy/32/2359225_2.png) [@Sammy](https://linux.do/u/Sammy)\
发布日期： [2024 年8 月 13 日 05:55 UTC](https://linux.do/t/topic/176408/21 "2024-08-13T05:55:47Z")

</div>

你的访问慢的意思是，像我登l站直连很慢但是规则快，这种类似意思吗

---

<div class="post-metadata">

作者： ![lichengfeng](https://cdn.ldstatic.com/user_avatar/linux.do/lichengfeng/32/158189_2.png) [@lichengfeng](https://linux.do/u/lichengfeng)\
发布日期： [2024 年8 月 13 日 05:56 UTC](https://linux.do/t/topic/176408/22 "2024-08-13T05:56:48Z")

</div>

就是一直在转圈圈加载不进去或者是直接加载失败

---

<div class="post-metadata">

作者： ![Sammy](https://cdn.ldstatic.com/user_avatar/linux.do/sammy/32/2359225_2.png) [@Sammy](https://linux.do/u/Sammy)\
发布日期： [2024 年8 月 13 日 05:57 UTC](https://linux.do/t/topic/176408/23 "2024-08-13T05:57:55Z")

</div>

你可以试着加一加规则进去试试看，可以关注一下这个网站是国内还是国外的，有可能是墙的原因

---

<div class="post-metadata">

作者： ![lichengfeng](https://cdn.ldstatic.com/user_avatar/linux.do/lichengfeng/32/158189_2.png) [@lichengfeng](https://linux.do/u/lichengfeng)\
发布日期： [2024 年8 月 13 日 05:58 UTC](https://linux.do/t/topic/176408/24 "2024-08-13T05:58:57Z")

</div>

这个加规则是在全局脚本那里加吗还是? 可能不太懂

---

<div class="post-metadata">

作者： ![Sammy](https://cdn.ldstatic.com/user_avatar/linux.do/sammy/32/2359225_2.png) [@Sammy](https://linux.do/u/Sammy)\
发布日期： [2024 年8 月 13 日 06:00 UTC](https://linux.do/t/topic/176408/25 "2024-08-13T06:00:56Z")

</div>

在你的订阅那里选中右键会有的

---

<div class="post-metadata">

作者： ![sanquan](https://cdn.ldstatic.com/user_avatar/linux.do/sanquan/32/100077_2.png) [@sanquan](https://linux.do/u/sanquan)\
发布日期： [2024 年8 月 13 日 06:10 UTC](https://linux.do/t/topic/176408/26 "2024-08-13T06:10:19Z")

</div>

我的理解是 tun是建立了个虚拟网卡 大家流量都从我这走

---

<div class="post-metadata">

作者： ![Links](https://cdn.ldstatic.com/user_avatar/linux.do/links/32/142231_2.png) [@Links](https://linux.do/u/Links)\
发布日期： [2024 年8 月 13 日 06:11 UTC](https://linux.do/t/topic/176408/27 "2024-08-13T06:11:04Z")

</div>

我单开tun模式，浏览器和tg软件就上不了网了 😅

---

<div class="post-metadata">

作者： ![jiongjiong\_JOJO](https://cdn.ldstatic.com/user_avatar/linux.do/jiongjiong_jojo/32/579093_2.png) [@jiongjiong\_JOJO](https://linux.do/u/jiongjiong_JOJO)\
发布日期： [2024 年8 月 13 日 06:17 UTC](https://linux.do/t/topic/176408/28 "2024-08-13T06:17:06Z")

</div>

自认为这里写的非常详细，建议逐字阅读官方文档：  
[https://clash-verge-rev.github.io/guide/term.html](https://clash-verge-rev.github.io/guide/term.html)

> | 代理模式 | 说明 | 特点 |
> | --- | --- | --- |
> | 系统代理 | 1. 代理程序会在系统“约定”的特定位置（如注册表、系统变量等）设置好代理程序监听请求的端口信息，进行网络请求的应用会自发性地尝试读取这部分信息，并将请求发送至代理程序。不同操作系统的“约定”方式各异。 2. 系统代理更像是一种行业内的“约定”，并非所有程序都遵守这种非强制性的“约定”，最终采取哪种方式发生请求往往取决于开发人员的意愿。 | 1. 具有自发性，网络请求程序尝试使用”约定“配置或使用网络请求程序里额外指定的配置。 2. 不能代理UDP流量（如游戏数据包）。 |
> | Tun 模式 | 代理程序会创建一张虚拟网卡，通过配置操作系统的路由将网络请求重定向到这张虚拟网卡，代理程序从虚拟网卡中读取并处理这些网络请求。 与系统代理不同的是，该步骤发生在网络请求程序发出请求之后，因此这种方法不依赖开发人员的意愿。 | 1. 拦截和处理所有流量(TCP/UDP)重定向到本地的代理程序。 2.网络请求程序无需额外配置。 |

---

<div class="post-metadata">

作者： ![CRI4250](https://cdn.ldstatic.com/user_avatar/linux.do/cri4250/32/177818_2.png) [@CRI4250](https://linux.do/u/CRI4250)\
发布日期： [2024 年8 月 13 日 06:22 UTC](https://linux.do/t/topic/176408/29 "2024-08-13T06:22:01Z")

</div>

JOJO佬来了 我为啥导入节点后连接就是没数据  
恼 完全按论坛教程来的

---

<div class="post-metadata">

作者： ![jiongjiong\_JOJO](https://cdn.ldstatic.com/user_avatar/linux.do/jiongjiong_jojo/32/579093_2.png) [@jiongjiong\_JOJO](https://linux.do/u/jiongjiong_JOJO)\
发布日期： [2024 年8 月 13 日 06:23 UTC](https://linux.do/t/topic/176408/30 "2024-08-13T06:23:59Z")

</div>

可以具体点吗，最好附带一下截图，看看哪里出的问题

---

<div class="post-metadata">

作者： ![lichengfeng](https://cdn.ldstatic.com/user_avatar/linux.do/lichengfeng/32/158189_2.png) [@lichengfeng](https://linux.do/u/lichengfeng)\
发布日期： [2024 年8 月 13 日 06:27 UTC](https://linux.do/t/topic/176408/31 "2024-08-13T06:27:33Z")

</div>

> [@Links](#):
>
> ，浏览器和tg软件就上不了

我又用回系统代理去了 搞不明白tun

---

<div class="post-metadata">

作者： ![lichengfeng](https://cdn.ldstatic.com/user_avatar/linux.do/lichengfeng/32/158189_2.png) [@lichengfeng](https://linux.do/u/lichengfeng)\
发布日期： [2024 年8 月 13 日 06:27 UTC](https://linux.do/t/topic/176408/32 "2024-08-13T06:27:53Z")

</div>

> [@Sammy](#):
>
> 的订阅那里选中右键会

好的好的 我去看到了

---

<div class="post-metadata">

作者： ![CRI4250](https://cdn.ldstatic.com/user_avatar/linux.do/cri4250/32/177818_2.png) [@CRI4250](https://linux.do/u/CRI4250)\
发布日期： [2024 年8 月 13 日 06:29 UTC](https://linux.do/t/topic/176408/33 "2024-08-13T06:29:59Z")

</div>

> [@On another topic](https://linux.do/t/175828/21):
>
> ![image](https://cdn3.ldstatic.com/original/3X/5/c/5ce84333eb78a7087922aff298bc2818fb4f6251.png)
> 
> 佬 就是这个连接里面没数据传输

就这个问题 很离谱  
不过我改换Hiddify 很流畅

---

<div class="post-metadata">

作者： ![jiongjiong\_JOJO](https://cdn.ldstatic.com/user_avatar/linux.do/jiongjiong_jojo/32/579093_2.png) [@jiongjiong\_JOJO](https://linux.do/u/jiongjiong_JOJO)\
发布日期： [2024 年8 月 13 日 06:32 UTC](https://linux.do/t/topic/176408/34 "2024-08-13T06:32:24Z")

</div>

订阅地址的问题吧

 ![Clip_2024-08-13_14-31-16](https://cdn3.ldstatic.com/original/3X/6/3/63d2b9181086d80888a95f9965783e23d1cd0dfa.png)  
编辑订阅，看下有没有。  
 ![Clip_2024-08-13_14-32-07](https://cdn3.ldstatic.com/original/3X/4/2/4224a9c201258f2ee1110f14a6d617e8d15336c8.png)

---

<div class="post-metadata">

作者： ![MisakaMikoto](https://cdn.ldstatic.com/user_avatar/linux.do/misakamikoto/32/2731286_2.png) [@MisakaMikoto](https://linux.do/u/MisakaMikoto)\
发布日期： [2024 年8 月 13 日 06:34 UTC](https://linux.do/t/topic/176408/35 "2024-08-13T06:34:49Z")

</div>

走不走系统代理看软件；开启了tun后会创建一个虚拟网络接口并修改系统路由表，这样可以使不支持系统代理的软件也走代理；另外除了tun还有个tap，他俩的区别是前者是路由后者是桥接，使用起来无区别，现在前者比较流行。

---

<div class="post-metadata">

作者： ![CRI4250](https://cdn.ldstatic.com/user_avatar/linux.do/cri4250/32/177818_2.png) [@CRI4250](https://linux.do/u/CRI4250)\
发布日期： [2024 年8 月 13 日 06:37 UTC](https://linux.do/t/topic/176408/36 "2024-08-13T06:37:01Z")

</div>

[Clash Verge系列使用最佳实践 | Lainbo’s Blog](https://lainbo.com/article/clash-config)  
我按论坛大佬的方法设置的 可能订阅出问题了吧  
反正挺迷的  
最后电脑上安了个Hiddify用 凑合 ![tieba_003](https://cdn3.ldstatic.com/original/3X/2/7/27a55a1370c41f0736ba094bdc8866c6c2878c16.png?v=12)

---

<div class="post-metadata">

作者： ![yyt](https://cdn.ldstatic.com/user_avatar/linux.do/yyt/32/308154_2.png) [@yyt](https://linux.do/u/yyt)\
发布日期： [2024 年8 月 13 日 07:15 UTC](https://linux.do/t/topic/176408/37 "2024-08-13T07:15:39Z")

</div>

[![](https://cdn3.ldstatic.com/original/3X/d/a/da01a4baab07a3e9535a69aaf02159900349227b.jpeg "【进阶•代理模式篇】看懂就能解决99%的代理问题，详解系统代理、TUN/TAP代理、真VPN代理，clash/v2ray/singbox 虚拟网卡怎么接管系统全局流量？什么是真正的VPN？看完就知道了") ](https://www.youtube.com/watch?v=qItL005LUik)

你可以看下这个教程会了解的更清楚点

---

<div class="post-metadata">

作者： ![ggsmida](https://cdn.ldstatic.com/user_avatar/linux.do/ggsmida/32/155194_2.png) [@ggsmida](https://linux.do/u/ggsmida)\
发布日期： [2024 年8 月 13 日 07:17 UTC](https://linux.do/t/topic/176408/38 "2024-08-13T07:17:56Z")

</div>

tun是创建了一张虚拟网卡接管所有流量。而系统代理只会代理支持的软件(有些软件没有支持）

---

<div class="post-metadata">

作者： ![CRI4250](https://cdn.ldstatic.com/user_avatar/linux.do/cri4250/32/177818_2.png) [@CRI4250](https://linux.do/u/CRI4250)\
发布日期： [2024 年8 月 13 日 07:22 UTC](https://linux.do/t/topic/176408/39 "2024-08-13T07:22:37Z")

</div>

好的 thanks

---

<div class="post-metadata">

作者： ![Waviness6884](https://cdn.ldstatic.com/user_avatar/linux.do/waviness6884/32/1337362_2.png) [@Waviness6884](https://linux.do/u/Waviness6884)\
发布日期： [2024 年8 月 13 日 08:10 UTC](https://linux.do/t/topic/176408/40 "2024-08-13T08:10:18Z")

</div>

我看到到楼上不少大佬都把tun模式和系统代理讲的比较清楚了

我再补充一点, 看楼主截图 把俩模式一起打开了 不建议这么操作

tun模式要 **配合** 服务模式才能正常使用

而系统代理可以 **单独使用**

这是我目前的方式:

 ![2024-08-13_16-01-10](https://cdn3.ldstatic.com/original/3X/3/8/3802818b5ca997928526d7fe83af494b5e1cbf05.jpeg)

我个人偏向于使用 **系统代理** , 因为我明显感知到使用tun模式的时候 我百度网盘下载时(我是SVIP) 网络时不时的会掉线1分钟 (我使用的是WiFi网络)

网速从27MB/s 突然掉到0kb/s 而且浏览器也 **无法正常上网** , 但是在系统代理下没有这个现象, 可以一直满带宽下载不掉线

基于以上理由 我习惯了使用系统代理来上网

tun模式唯一的用处(我遇到的) 就是登录Arc浏览器(没什么用的浏览器 花里胡哨太多) 的时候 需要tun模式 否则无法正常登录, 其他的没有需求 系统代理完全够用

**附一篇我写的clash流量规则教程:**

[https://linux.do/t/topic/161902](https://linux.do/t/topic/161902)

如果对你有所帮助 看在这么多字的份上

佬给我个赞吧 让我也升一升3级 体验体验人上人 🥰

[上一页](https://linux.do/t/topic/176408.md?page=1)

[下一页](https://linux.do/t/topic/176408.md?page=3)
