Skip to content

Instantly share code, notes, and snippets.

@celeron633
Created August 1, 2023 09:25
Show Gist options
  • Save celeron633/2b0cba61bba6b1b750a70f23750c23ed to your computer and use it in GitHub Desktop.
Save celeron633/2b0cba61bba6b1b750a70f23750c23ed to your computer and use it in GitHub Desktop.
minimal clash cfg file for trojan
port: 7890 # port of HTTP
socks-port: 7891 # port of SOCKS5
allow-lan: false
mode: rule
proxies:
- name: "t1"
type: trojan
server: xx.com
port: 443
password: "pass"
skip-cert-verify: true
- name: "t2"
type: trojan
server: xx.com
port: 443
password: "pass"
skip-cert-verify: true
proxy-groups:
- name: Proxy
type: select
proxies:
- t1
- t2
rules:
- IP-CIDR,127.0.0.0/8,DIRECT
- GEOIP,CN,DIRECT
- MATCH,Proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment