🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #328779

[Onion Courier] running a public node

#328779
From: Onion Courier
Date: Wed, 16 Apr 2025 17:24
53 lines
2495 bytes
Hi all,

If you have a Raspberry Pi or VPS, running an Onion Courier node is very simple.

1. Open port 8088 in your firewall.

2. Create an additional Tor Hidden Service and start it.
   Add a user, named 'ocn'.

3. Copy the hostname file to your Desktop.

4. Download oc_node_server.go, minicrypt and Eurasia hasher.

https://github.com/706f6c6c7578/oc
https://github.com/706f6c6c7578/minicrypt
https://github.com/706f6c6c7578/eh

5. Create a key pair with minicrypt

   $ minicrypt -g

6. Create your node password/id

   Use the data in the hostname file and use a nickname with 'eh':

   $ echo -n 'nickname:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.onion:8088' | eh -ripemd160

   This results in a ripemd160 hash wich you must insert in line 27 of the Go code:
   
   serverPassword = "secretPassword" // Set your desired server password here
                     ^^^^^^^^^^^^^^

7. Create a folder, named 'ocn' on your Desktop and put the edited oc_node_server.go in it.

8. Compile: 'go mod init ocn', 'go mod tidy', 'go build -ldflags "-s -w"'.

9. Upload the binary and the previously generated private.pem to your VPS Account 'ocn'

10. Start ocn: $ ./ocn -s /path/to/your/private.pem.

11. Publish your data, in a.p.a-s, or other places, which must look like this:

    nickname:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.onion:8088 ripemd160 hash

    and the public.pem of your node.

It will be then added to the public nodes list, which you can find here:

https://github.com/706f6c6c7578/oc/blob/main/README_public_nodes.txt

Regards
Stefan
Technical Details
Message-ID: <20250416172436.D085F2014D@hal.oc2mx.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder3.eternal-september.org!news.tcpreset.net!onion!mail2news

Show Full Headers
Complete Article Headers
Message-ID: <20250416172436.D085F2014D@hal.oc2mx.net>
Subject: [Onion Courier] running a public node
Date: Wed, 16 Apr 2025 17:24:37 +0000
From: Onion Courier <noreply@oc2mx.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder3.eternal-september.org!news.tcpreset.net!onion!mail2news
Newsgroups: alt.privacy.anon-server,alt.cypherpunks,alt.privacy
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Hashcash: 1:26:250416172029:mail2news::tGsfz763/GBio0ji:04IRJP