clarify
This commit is contained in:
parent
06e3a84995
commit
5114d72151
28
README.md
28
README.md
|
@ -31,10 +31,19 @@ Features
|
||||||
Examples
|
Examples
|
||||||
========
|
========
|
||||||
|
|
||||||
|
As a user service
|
||||||
|
|
||||||
|
```bash
|
||||||
|
telebit daemon --config ~/.config/telebit/telebit.yml &
|
||||||
```
|
```
|
||||||
telebit --config /opt/telebit/etc/telebit.yml
|
|
||||||
|
As a system service
|
||||||
|
```bash
|
||||||
|
sudo telebit daemon --config ~/.config/telebit/telebit.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Example output:
|
||||||
|
|
||||||
```
|
```
|
||||||
Connect to your device by any of the following means:
|
Connect to your device by any of the following means:
|
||||||
|
|
||||||
|
@ -55,17 +64,16 @@ HTTPS
|
||||||
ex: curl https://young-grasshopper-37.telebit.cloud
|
ex: curl https://young-grasshopper-37.telebit.cloud
|
||||||
```
|
```
|
||||||
|
|
||||||
<!-- TODO use some imagery
|
```bash
|
||||||
```
|
# Forward all https traffic to port 3000
|
||||||
telebit http /path/to/root
|
|
||||||
telebit http 3000
|
telebit http 3000
|
||||||
telebit http /path/to/handler.js
|
|
||||||
telebit ssh 22
|
# Forward all tcp traffic to port 5050
|
||||||
telebit tcp 3000
|
telebit tcp 5050
|
||||||
telebit tcp echo
|
|
||||||
telebit tcp /path/to/handler.js
|
# List all rules
|
||||||
|
telebit list
|
||||||
```
|
```
|
||||||
-->
|
|
||||||
|
|
||||||
Install
|
Install
|
||||||
=======
|
=======
|
||||||
|
|
Loading…
Reference in New Issue