TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Oniongrok, Onion Addresses for Anything

2 点作者 cmars超过 3 年前
I&#x27;ve been playing with Tor v3 hidden services to connect to my home lab from remote things, and came up with oniongrok, a small &amp; 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&#x27;s kind of like an onion-flavored socat.<p>Service addresses are temporary, but I&#x27;m working on making these persistent there, as well as client auth.

1 comment

brudgers超过 3 年前
Link, <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=30241376" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=30241376</a>