Clash手动配置节点教程 — 不用订阅链接也能用

立即下载Clash入门 全平台支持 · 官方最新版

Clash手动配置节点教程

一、创建配置文件

创建包含基础设置、DNS、proxies、proxy-groups、rules的YAML配置文件。

二、添加节点

Shadowsocks

- name: "SS日本"
  type: ss
  server: jp.example.com
  port: 8388
  cipher: aes-256-gcm
  password: "your-password"

Vmess

- name: "Vmess美国"
  type: vmess
  server: us.example.com
  port: 443
  uuid: "your-uuid"
  alterId: 0
  cipher: auto
  tls: true
  network: ws
  ws-opts:
    path: /path

Trojan

- name: "Trojan香港"
  type: trojan
  server: hk.example.com
  port: 443
  password: "your-password"
  sni: hk.example.com

三、更新策略组

将节点名称添加到proxy-groups的proxies列表中。

四、导入Clash

在Clash Verge Rev中选择本地文件导入。

总结

手动配置Clash节点只需在proxies中添加节点、更新proxy-groups引用、配置rules规则。注意YAML用空格缩进。

这篇教程有帮助吗?立即下载Clash入门试试吧!

全平台支持 · 安全无毒 · 官方最新版

下载Clash入门