Clash2020-10-16 约 288 字 预计阅读 1 分钟文章目录linux 使用 clash GUIclash_for_windows_linuxTap 模式clash service把订阅链接转换成 yaml 文件方法linux 使用 clash GUIclash_for_windows_linux说明: clash windows 项目组开发的 linux 版本参考:linux下使用clash(GUI) - 简书安装包:v0.19.24安装方法:解压缩后,执行 ./cfwTap 模式 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 mixin: dns: enable: true enhanced-mode: redir-host # 或 fake-ip listen: 0.0.0.0:53 nameserver: - 223.5.5.5 interface-name: 以太网# 物理网卡名称 mixin: interface-name: 以太网 dns: enable: true enhanced-mode: redir-host listen: 0.0.0.0:53 nameserver: - https://doh.dns.sb/dns-query - https://dns.adguard.com/dns-query mixin: interface-name: 以太网 # 物理网卡名称 dns: enable: true enhanced-mode: fake-ip listen: 0.0.0.0:53 nameserver: - 223.5.5.5 fake-ip-filter: - 'dns.msftncsi.com' - 'www.msftncsi.com' - 'www.msftconnecttest.com' mixin: dns: enable: true enhanced-mode: redir-host # 或 fake-ip listen: 0.0.0.0:53 nameserver: - 223.5.5.5 interface-name: InnerWeb # 物理网卡名称clash service 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [Unit] Description=Clash Backend After=network.target [Service] ExecStart=/home/sawyer/bin/clash -d /home/sawyer/.config/clash ExecStop=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartPreventExitStatus=255 Type=simple Restart=on-failure [Install] WantedBy=multi-user.targetarchlinux 路径/usr/lib/systemd/system/clash.service把订阅链接转换成 yaml 文件方法参考:Dreamacro/clash#2632 {Feature} how to import the subscribe-link instead of us…解决方法:1 2 3 curl -H "User-Agent: ClashForAndroid/2.0.0" <your subscription url> curl '<your subscription url>&flag=clash'文章作者 上次更新 2024-01-05 (5c92d1c)