work in progress
This commit is contained in:
16
rss.xml
16
rss.xml
@@ -99,18 +99,26 @@ but somehow get uploaded and downloaded simultaneously.</p>
|
||||
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</p>
|
||||
<pre><code>croc relay</code></pre>
|
||||
<blockquote>
|
||||
<p>croc relay</p>
|
||||
</blockquote>
|
||||
<p>which will by default use the ports 9009-9013 but you can specify
|
||||
your own with the –ports arguement like</p>
|
||||
<pre><code>croc relay --ports 1111,1112</code></pre>
|
||||
<blockquote>
|
||||
<p>croc relay –ports 1111,1112</p>
|
||||
</blockquote>
|
||||
<p>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</p>
|
||||
<pre><code>croc --relay "your.domain:9009" send [file]</code></pre>
|
||||
<blockquote>
|
||||
<p>croc –relay “your.domain:9009” send [file]</p>
|
||||
</blockquote>
|
||||
<p>and the recipient can download it by typing</p>
|
||||
<pre><code>croc --relay "your.domain:9009" [code]</code></pre>
|
||||
<blockquote>
|
||||
<p>croc –relay “your.domain:9009” [code]</p>
|
||||
</blockquote>
|
||||
<p>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.</p>
|
||||
|
||||
Reference in New Issue
Block a user