62 lines
1.2 KiB
YAML
62 lines
1.2 KiB
YAML
# a typical subscription / Clash config
|
|
port: 7890
|
|
proxies:
|
|
- name: "🇩🇪 de-1 | vless" # a comment
|
|
type: vless
|
|
server: x.example
|
|
port: 443
|
|
uuid: 0b1c2d3e-0000-4000-8000-000000000001
|
|
network: xhttp
|
|
tls: true
|
|
udp: true
|
|
servername: www.example.com
|
|
client-fingerprint: chrome
|
|
alpn: [h2, "http/1.1"]
|
|
reality-opts: {public-key: K-_kk, short-id: ab}
|
|
xhttp-opts:
|
|
path: /x
|
|
mode: packet-up
|
|
headers:
|
|
X-Forwarded-For: 1.2.3.4
|
|
- {name: b, type: trojan, server: "t:x", port: 443, password: "p#w", udp: true, sni: t.example}
|
|
- name: c
|
|
type: hysteria2
|
|
server: h.example
|
|
ports: 2000-3000
|
|
password: 'it''s'
|
|
up: 50 mbps
|
|
down: "100 mbps"
|
|
obfs: salamander
|
|
obfs-password: "a\"b\\cé"
|
|
skip-cert-verify: True
|
|
- name: d
|
|
type: ss
|
|
server: 1.2.3.4
|
|
port: 8388
|
|
cipher: aes-256-gcm
|
|
password: 123456
|
|
plugin: obfs
|
|
plugin-opts:
|
|
mode: tls
|
|
host: bing.com
|
|
-
|
|
name: e
|
|
type: vmess
|
|
server: v.example
|
|
port: "443"
|
|
uuid: x
|
|
alterId: 0
|
|
cipher: auto
|
|
ws-opts:
|
|
path: "/w?ed=2048"
|
|
headers: {Host: v.example}
|
|
smux:
|
|
enabled: false
|
|
padding: ~
|
|
proxy-groups:
|
|
- name: G
|
|
type: select
|
|
proxies:
|
|
- b
|
|
- c
|