This commit is contained in:
Zack Scholl 2020-10-12 12:33:56 -07:00
parent b12fc47951
commit fa1359f1b8
1 changed files with 212 additions and 202 deletions

View File

@ -20,6 +20,7 @@ Status"></a>
- allows **resuming transfers** that are interrupted
- local server or port-forwarding **not needed**
- **ipv6-first** with ipv4 fallback
- can **use proxy**, like tor
For more information about `croc`, see [my blog post](https://schollz.com/software/croc6).
@ -156,6 +157,15 @@ $ croc send --text "hello world"
This will automatically tell the receiver to use `stdout` when they receive the text so it will be displayed.
### Use a proxy
You can use a proxy as your connection to the relay by adding a proxy address with `--socks5`. For example, you can send via a tor relay:
```
$ croc --socks5 "127.0.0.1:9050" send SOMEFILE
```
### Self-host relay
The relay is needed to staple the parallel incoming and outgoing connections. By default, `croc` uses a public relay but you can also run your own relay: