官方文档地址:https://docs.cfw.lbyczf.com/contents/tap.html
-
安装tap device
image.png
-
修改配置文件
//配置profile文件
dns:
enable: true
enhanced-mode: redir-host # 或 fake-ip
listen: 0.0.0.0:53
nameserver:
- 223.5.5.5

注意配置
interface-name: 以太网
,其中以太网是我上网的接口,如果笔记本可能不太一样

windows使用命令行工具查看名称;我这里是安装了虚拟机所以比较多,但是就是你的物理网卡的名称

配置好
interface-name
后就可以正常连接了,并且网络接口中的cfw-tap就不会有红叉了。如果没有配置就不能连接。
-
测试
image.png
网友评论