Update README.md

This commit is contained in:
Larvan2 2023-01-20 17:13:32 +08:00
parent 8a7027e8d6
commit 8cd1e40fb3
2 changed files with 13 additions and 5 deletions

View File

@ -2,6 +2,9 @@ name: Prerelease
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
paths:
- '!README.md'
- '!docs/**'
branches: branches:
- Alpha - Alpha
- Beta - Beta

View File

@ -29,8 +29,8 @@
- Netfilter TCP redirecting. Deploy Clash on your Internet gateway with `iptables`. - Netfilter TCP redirecting. Deploy Clash on your Internet gateway with `iptables`.
- Comprehensive HTTP RESTful API controller - Comprehensive HTTP RESTful API controller
## Getting Started ## Wiki
Documentations are now moved to [GitHub Wiki](https://github.com/Dreamacro/clash/wiki). Documentation is available on [Clash.Meta Wiki](https://docs.metacubex.one/).
## Advanced usage for this branch ## Advanced usage for this branch
@ -49,11 +49,16 @@ If you can't visit github,you should set proxy first:
go env -w GOPROXY=https://goproxy.io,direct go env -w GOPROXY=https://goproxy.io,direct
``` ```
So now you can build it: Now you can build it:
```shell ```shell
go build go build
``` ```
If you need gvisor for tun stack, build with:
```shell
go build -tags with_gvisor
```
### DNS configuration ### DNS configuration
Support `geosite` with `fallback-filter`. Support `geosite` with `fallback-filter`.
@ -110,7 +115,7 @@ Built-in [Wintun](https://www.wintun.net) driver.
# Enable the TUN listener # Enable the TUN listener
tun: tun:
enable: true enable: true
stack: gvisor # only gvisor stack: system # system/gvisor
dns-hijack: dns-hijack:
- 0.0.0.0:53 # additional dns server listen on TUN - 0.0.0.0:53 # additional dns server listen on TUN
auto-route: true # auto set global route auto-route: true # auto set global route