Update readme
parent
4a1e1a7c23
commit
daecac8554
10
README.md
10
README.md
|
@ -3,9 +3,15 @@
|
||||||
An HTTP server that can run behind a firewall by connecting out to a relay.
|
An HTTP server that can run behind a firewall by connecting out to a relay.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Outside the tunnel
|
||||||
+--------+ +------------+ +-------------+
|
+--------+ +------------+ +-------------+
|
||||||
| Client |-------->| PTTH relay |<-------| PTTH server |
|
| Client | ------> | PTTH relay | <----- | PTTH server |
|
||||||
+--------+ +------------+ +-------------+
|
+--------+ +------------+ +-------------+
|
||||||
|
|
||||||
|
Inside the tunnel
|
||||||
|
+--------+ -------------- +-------------+
|
||||||
|
| Client | ----------------------------> | Server |
|
||||||
|
+--------+ -------------- +-------------+
|
||||||
```
|
```
|
||||||
|
|
||||||
The server can run behind a firewall, because it is actually a special HTTP
|
The server can run behind a firewall, because it is actually a special HTTP
|
||||||
|
@ -26,7 +32,7 @@ the terminal. Copy that to the relay.
|
||||||
|
|
||||||
Configuring the relay:
|
Configuring the relay:
|
||||||
|
|
||||||
- Copy ptth_relay onto the server
|
- Copy ptth_relay onto the server (A Dockerfile is provided with no guarantees)
|
||||||
- Create ptth_relay.toml in the relay's working dir
|
- Create ptth_relay.toml in the relay's working dir
|
||||||
- Add the tripcodes of all servers to the server_tripcodes table
|
- Add the tripcodes of all servers to the server_tripcodes table
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue