Update README.md
This commit is contained in:
parent
8a7027e8d6
commit
8cd1e40fb3
2 changed files with 13 additions and 5 deletions
5
.github/workflows/prerelease.yml
vendored
5
.github/workflows/prerelease.yml
vendored
|
@ -2,6 +2,9 @@ name: Prerelease
|
|||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
paths:
|
||||
- '!README.md'
|
||||
- '!docs/**'
|
||||
branches:
|
||||
- Alpha
|
||||
- Beta
|
||||
|
@ -186,4 +189,4 @@ jobs:
|
|||
tag_name: Prerelease-${{ github.ref_name }}
|
||||
files: bin/*
|
||||
prerelease: true
|
||||
generate_release_notes: true
|
||||
generate_release_notes: true
|
||||
|
|
13
README.md
13
README.md
|
@ -29,8 +29,8 @@
|
|||
- Netfilter TCP redirecting. Deploy Clash on your Internet gateway with `iptables`.
|
||||
- Comprehensive HTTP RESTful API controller
|
||||
|
||||
## Getting Started
|
||||
Documentations are now moved to [GitHub Wiki](https://github.com/Dreamacro/clash/wiki).
|
||||
## Wiki
|
||||
Documentation is available on [Clash.Meta Wiki](https://docs.metacubex.one/).
|
||||
|
||||
## 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
|
||||
```
|
||||
|
||||
So now you can build it:
|
||||
Now you can build it:
|
||||
```shell
|
||||
go build
|
||||
```
|
||||
|
||||
If you need gvisor for tun stack, build with:
|
||||
```shell
|
||||
go build -tags with_gvisor
|
||||
```
|
||||
|
||||
### DNS configuration
|
||||
|
||||
Support `geosite` with `fallback-filter`.
|
||||
|
@ -110,7 +115,7 @@ Built-in [Wintun](https://www.wintun.net) driver.
|
|||
# Enable the TUN listener
|
||||
tun:
|
||||
enable: true
|
||||
stack: gvisor # only gvisor
|
||||
stack: system # system/gvisor
|
||||
dns-hijack:
|
||||
- 0.0.0.0:53 # additional dns server listen on TUN
|
||||
auto-route: true # auto set global route
|
||||
|
|
Loading…
Reference in a new issue