Show HN: Oniongrok, Onion Addresses for Anything (github.com)

2 points by cmars ↗ HN
I've been playing with Tor v3 hidden services to connect to my home lab from remote things, and came up with oniongrok, a small & simple utility that makes it easy to export local services to a .onion ingress, and import onions into your local network.

With a single command you can spin up a hidden service:

oniongrok 8000

sets up a forward from localhost:8000 to onion service listening on the same port.

oniongrok 8000~80

maps it to port 80 on the onion,

oniongrok xyz.onion~12000

Forwards an onion service to localhost:12000

It's kind of like an onion-flavored socat.

Service addresses are temporary, but I'm working on making these persistent there, as well as client auth.

1 comment

[ 3.8 ms ] story [ 9.8 ms ] thread