mirror of
https://github.com/mmatczuk/go-http-tunnel.git
synced 2026-05-15 14:16:17 -06:00
Update README
This commit is contained in:
parent
57ab154a65
commit
053e2cb802
1 changed files with 6 additions and 3 deletions
|
|
@ -160,8 +160,10 @@ $ mkdir registered_clients
|
|||
|
||||
On client, get ID: `$ tunnel id`
|
||||
|
||||
Configure client (file `registered_clients/CLIENT_ID.yaml`).
|
||||
Example `registered_clients/SS2KPSV-5KG2URM-WYUEDLY-FBDAD7A-MUUVTDX-TL7KL45-2PQEQAD-IN4LVAH.yaml`:
|
||||
Registered **Client DIR** `registered_clients/CLIENT_ID`.
|
||||
|
||||
Configure client (file `config.yaml`).
|
||||
Example `registered_clients/SS2KPSV-5KG2URM-WYUEDLY-FBDAD7A-MUUVTDX-TL7KL45-2PQEQAD-IN4LVAH/config.yaml`:
|
||||
|
||||
```yaml
|
||||
connections: 4
|
||||
|
|
@ -175,7 +177,8 @@ tunnels:
|
|||
```
|
||||
|
||||
Configuration options:
|
||||
* `disabled`: if set to `true` block this client.
|
||||
* `disabled`: if set to `true` block this client. Or create empty file `disabled` on client dir.
|
||||
Example: `$ touch registered_clients/CLIENT_ID/disabled`.
|
||||
* `connections`: number of connections in addition to the main connection. Default is `0`.
|
||||
* `tunnels / [name]`
|
||||
* `proto`: tunnel protocol, `http` or `tcp`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue