type
Post
status
Published
date
Aug 2, 2023
slug
summary
ClashForWindows TUN 模式设置
tags
工具
技术
技术杂项
category
技术分享
icon
password
URL
Photo
环境准备:
- Clash For Windows ≥ 0.19.27
0x00 安装Service Mode
图中为已安装好

0x01 修改配置文件
在文件末尾添加如下内容
dns: ipv6: true enable: true enhanced-mode: fake-ip nameserver: - 8.8.8.8 # 真实请求DNS,可多设置几个 - 8.8.4.4 - 114.114.114.114 - 114.114.115.115 - 223.5.5.5 - 223.6.6.6 - 180.76.76.76 - 119.29.29.29 - 182.254.116.116 fallback: [] fake-ip-filter: - +.stun.*.* - +.stun.*.*.* - +.stun.*.*.*.* - +.stun.*.*.*.*.* - "*.n.n.srv.nintendo.net" - +.stun.playstation.net - xbox.*.*.microsoft.com - "*.*.xboxlive.com" - apps.apple.com tun: enable: true stack: gvisor auto-route: true auto-detect-interface: true dns-hijack: - any:53

0x01 开启TUN模式
点击
General
中TUN Mode
右边开关启动 TUN 模式
0x02 测试TUN模式是否成功
