ClashForWindows 开启 TUN 模式
ClashForWindows 开启 TUN 模式
Last edited 2023-8-2
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

点击GeneralService Mode右边Manage,在打开窗口中安装服务模式,安装完成应用会自动重启,Service Mode 右边地球图标变为绿色即安装成功(无法安装参考:这里
图中为已安装好
notion image

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
notion image
 

0x01 开启TUN模式

点击GeneralTUN Mode右边开关启动 TUN 模式
notion image
 
 

0x02 测试TUN模式是否成功

notion image
  • 工具
  • 技术
  • 技术杂项
  • zerotier-planet Mac 客户端配置文档408数据结构 第一章 绪论