1
0
mirror of https://github.com/schollz/croc.git synced 2024-11-23 23:54:17 +03:00

update with correct relay information #117

This commit is contained in:
Zack 2019-01-05 18:35:33 -08:00 committed by GitHub
parent 148b10d666
commit bcce2c021d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,7 @@ All of the other text printed to the console is going to `stderr` so it will not
### Self-host relay ### Self-host relay
The relay is needed to staple the parallel incoming and outgoing connections. The relay temporarily stores connection information and the encrypted meta information. The default uses a public relay at, `ws://198.199.67.130:8153`. You can also run your own relay, it is very easy, just run: The relay is needed to staple the parallel incoming and outgoing connections. The relay temporarily stores connection information and the encrypted meta information. The default uses a public relay at, `croc4.schollz.com`. You can also run your own relay, it is very easy, just run:
``` ```
$ croc relay $ croc relay
@ -132,10 +132,10 @@ $ croc relay
Make sure to open up TCP ports (see `croc relay --help` for which ports to open). Relays can also be customized to which elliptic curve they will use (default is siec). Make sure to open up TCP ports (see `croc relay --help` for which ports to open). Relays can also be customized to which elliptic curve they will use (default is siec).
You can send files using your relay by entering `-relay` to change the relay that you are using if you want to custom host your own. You can send files using your relay by entering `-addr` to change the relay that you are using if you want to custom host your own.
``` ```
$ croc -relay "ws://myrelay.example.com" send [filename] $ croc -addr "myrelay.example.com" send [filename]
``` ```
### Configuration file ### Configuration file