mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
chore: document update
This commit is contained in:
1 parent
10b7f2d5e6
commit
e6631aaf84
6 files changed
+41
-37
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user