work in progress
This commit is contained in:
@@ -8,27 +8,19 @@ Croc as far as I understand needs an intermediary to staple as it says the conne
|
||||
|
||||
I'll have to further read about that but in short if you have a computer like a server with a static ip that is easily accessible from the internet then because of the great job the author did you can host a relay simply by typing the command
|
||||
|
||||
```
|
||||
croc relay
|
||||
```
|
||||
> croc relay
|
||||
|
||||
which will by default use the ports 9009-9013 but you can specify your own with the --ports arguement like
|
||||
|
||||
```
|
||||
croc relay --ports 1111,1112
|
||||
```
|
||||
> croc relay --ports 1111,1112
|
||||
|
||||
Then if you make that into a systemd service (which I won't be covering just yet cause I don't really understand them and only make them by copy pasting basic templates 😐) it's basically a set and forget kind of thing and you can now send files to anyone in any operating system by using croc by typing
|
||||
|
||||
```
|
||||
croc --relay "your.domain:9009" send [file]
|
||||
```
|
||||
> croc --relay "your.domain:9009" send [file]
|
||||
|
||||
and the recipient can download it by typing
|
||||
|
||||
```
|
||||
croc --relay "your.domain:9009" [code]
|
||||
```
|
||||
> croc --relay "your.domain:9009" [code]
|
||||
|
||||
This is super useful cause there was a time when the public instance was down and I couldn't send files when it was just so easy to not be dependent on the public instance in the first place.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user