mirror of https://github.com/Dreamacro/clash.git
Chore: bump to 0.10.0
This commit is contained in:
parent
03c249ecb1
commit
f192d591c7
26
README.md
26
README.md
|
@ -38,7 +38,7 @@ go get -u -v github.com/Dreamacro/clash
|
||||||
|
|
||||||
Pre-built binaries are available: [release](https://github.com/Dreamacro/clash/releases)
|
Pre-built binaries are available: [release](https://github.com/Dreamacro/clash/releases)
|
||||||
|
|
||||||
Requires Go >= 1.10.
|
Requires Go >= 1.11.
|
||||||
|
|
||||||
## Daemon
|
## Daemon
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ allow-lan: false
|
||||||
mode: Rule
|
mode: Rule
|
||||||
|
|
||||||
# set log level to stdout (default is info)
|
# set log level to stdout (default is info)
|
||||||
# info / warning / error / debug
|
# info / warning / error / debug / silent
|
||||||
log-level: info
|
log-level: info
|
||||||
|
|
||||||
# A RESTful API for clash
|
# A RESTful API for clash
|
||||||
|
@ -99,6 +99,17 @@ external-controller: 127.0.0.1:9090
|
||||||
# Secret for RESTful API (Optional)
|
# Secret for RESTful API (Optional)
|
||||||
# secret: ""
|
# secret: ""
|
||||||
|
|
||||||
|
dns:
|
||||||
|
enable: true # set true to enable dns
|
||||||
|
ipv6: false # default is false
|
||||||
|
listen: 0.0.0.0:53
|
||||||
|
enhanced-mode: redir-host
|
||||||
|
nameserver:
|
||||||
|
- 114.114.114.114
|
||||||
|
- tls://dns.rubyfish.cn:853 # dns over tls
|
||||||
|
fallback: # concurrent request with nameserver, fallback used when GEOIP country isn't CN
|
||||||
|
- 8.8.8.8
|
||||||
|
|
||||||
Proxy:
|
Proxy:
|
||||||
|
|
||||||
# shadowsocks
|
# shadowsocks
|
||||||
|
@ -122,11 +133,22 @@ Proxy:
|
||||||
|
|
||||||
# socks5
|
# socks5
|
||||||
- { name: "socks", type: socks5, server: server, port: 443 }
|
- { name: "socks", type: socks5, server: server, port: 443 }
|
||||||
|
# socks5 with authentication
|
||||||
|
- { name: "socks", type: socks5, server: server, port: 443, username: "username", password: "password" }
|
||||||
# with tls
|
# with tls
|
||||||
- { name: "socks", type: socks5, server: server, port: 443, tls: true }
|
- { name: "socks", type: socks5, server: server, port: 443, tls: true }
|
||||||
# with tls and skip-cert-verify
|
# with tls and skip-cert-verify
|
||||||
- { name: "socks", type: socks5, server: server, port: 443, tls: true, skip-cert-verify: true }
|
- { name: "socks", type: socks5, server: server, port: 443, tls: true, skip-cert-verify: true }
|
||||||
|
|
||||||
|
# http
|
||||||
|
- { name: "http", type: http, server: server, port: 443 }
|
||||||
|
# http with authentication
|
||||||
|
- { name: "http", type: http, server: server, port: 443, username: "username", password: "password" }
|
||||||
|
# with tls (https)
|
||||||
|
- { name: "http", type: http, server: server, port: 443, tls: true }
|
||||||
|
# with tls (https) and skip-cert-verify
|
||||||
|
- { name: "http", type: http, server: server, port: 443, tls: true, skip-cert-verify: true }
|
||||||
|
|
||||||
Proxy Group:
|
Proxy Group:
|
||||||
# url-test select which proxy will be used by benchmarking speed to a URL.
|
# url-test select which proxy will be used by benchmarking speed to a URL.
|
||||||
- { name: "auto", type: url-test, proxies: ["ss1", "ss2", "vmess1"], url: http://www.gstatic.com/generate_204, interval: 300 }
|
- { name: "auto", type: url-test, proxies: ["ss1", "ss2", "vmess1"], url: http://www.gstatic.com/generate_204, interval: 300 }
|
||||||
|
|
Loading…
Reference in New Issue