chore: document update

This commit is contained in:
nadoo committed 2020-12-04 12:41:38 +08:00
1 parent 10b7f2d5e6
commit e6631aaf84
6 files changed
+41 -37

No files matched your search

+16 -14
View File
@@ -42,7 +42,6 @@ we can set up local listeners as proxy servers, and forward requests to internet
## Protocols
<details>
<summary>click to see details</summary>
|Protocol | Listen/TCP | Listen/UDP | Forward/TCP | Forward/UDP | Description
|:-: |:-:|:-:|:-:|:-:|:-
|Mixed |√|√| | |http+socks5 server
@@ -275,8 +274,23 @@ Config file format(see `./glider.conf.example` as an example):
KEY=VALUE
KEY=VALUE
# KEY equals to command line flag name: listen forward strategy...
```
</details>
run:
```bash
glider -config CONFIGPATH
```
```bash
glider -verbose -listen :8443 -forward SCHEME://HOST:PORT
```
### Examples
<details>
<summary>click to see details</summary>
Examples:
./glider -config glider.conf
-run glider with specified config file.
@@ -313,21 +327,9 @@ Examples:
Services:
dhcpd: service=dhcpd,INTERFACE,START_IP,END_IP
e.g.,service=dhcpd,eth1,192.168.50.100,192.168.50.199
```
</details>
run:
```bash
glider -verbose -listen :8443 -forward SCHEME://HOST:PORT
```
```bash
glider -config CONFIGPATH
```
```bash
glider -config CONFIGPATH -listen :8080 -verbose
```
## Config
- [ConfigFile](config)