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.<p>With a single command you can spin up a hidden service:<p>oniongrok 8000<p>sets up a forward from localhost:8000 to onion service listening on the same port.<p>oniongrok 8000~80<p>maps it to port 80 on the onion,<p>oniongrok xyz.onion~12000<p>Forwards an onion service to localhost:12000<p>It's kind of like an onion-flavored socat.<p>Service addresses are temporary, but I'm working on making these persistent there, as well as client auth.