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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: connet – A P2P reverse proxy with NAT traversal

130 点作者 Ingon4 个月前
Over the past couple of months, I&#x27;ve been working on connet. At this point, it is working pretty smoothly (in what I use it for), so I wanted to share it with more people and see what they think.<p>I know many other similar&#x2F;reverse proxy solutions exist - like <a href="https:&#x2F;&#x2F;github.com&#x2F;fatedier&#x2F;frp">https:&#x2F;&#x2F;github.com&#x2F;fatedier&#x2F;frp</a>, <a href="https:&#x2F;&#x2F;github.com&#x2F;rapiz1&#x2F;rathole">https:&#x2F;&#x2F;github.com&#x2F;rapiz1&#x2F;rathole</a>, and a bunch more you can find at <a href="https:&#x2F;&#x2F;github.com&#x2F;anderspitman&#x2F;awesome-tunneling">https:&#x2F;&#x2F;github.com&#x2F;anderspitman&#x2F;awesome-tunneling</a>. However, I wanted to try and put my own little peer-to-peer twist on it.<p>Thanks for checking it out, and sharing any feedback you might have!

8 条评论

r3trohack3r4 个月前
This looks great!<p>Have you seen the libp2p project? Might help get you pluggable NAT traversal and transport strategies plus peer discovery. We’ve been using rust-libp2p for building an overlay network and have had decent success.
评论 #42578721 未加载
评论 #42577175 未加载
rudasn4 个月前
Nice. I really like the config format regarding the services available&#x2F;exposed.<p>Any particular reasons you haven&#x27;t built upon wireguard that would handle encryption&#x2F;security for you?
评论 #42577078 未加载
crtasm4 个月前
Suggestion for the quickstart: refer to the clients as either D,S or a,b throughout - I found the mixture a bit confusing.
评论 #42577262 未加载
linuxdude3144 个月前
You can do this with SSH alone.<p><a href="https:&#x2F;&#x2F;tenshidev.medium.com&#x2F;ngrok-you-might-not-need-it-de4e3e34a55d" rel="nofollow">https:&#x2F;&#x2F;tenshidev.medium.com&#x2F;ngrok-you-might-not-need-it-de4...</a>
评论 #42598439 未加载
valorzard4 个月前
Can I use this to host a Minecraft server? I’ve used hamachi and zero tier in the past, and the former USED to work but stopped recently for some reason
评论 #42577453 未加载
nurettin4 个月前
I have been using autossh in production for the past decade without problems. Does frp&#x2F;ngrok&#x2F;connet, etc. have any advantage that I don&#x27;t know about?
评论 #42580041 未加载
hailruda4 个月前
So if I understand correctly, this should be comparable to what Tailscale is doing?
评论 #42578635 未加载
Uptrenda4 个月前
Spent 2 years working on the same problem. Ended up designing a library that does:<p>- direct connect<p>- reverse connect<p>- tcp hole punching<p>- turn support<p>Has other features too like:<p>- multi-interface<p>- duel-stack<p>- port forwarding and pin holes<p>Show some love cause its at 64 stars and is IMO, objectively better for direct peer-to-peer networking than OPs library that only supports direct, reverse, and relay, and which doesn&#x27;t seem to do anything to open ports or firewalls. It does make me salty that I try so hard with my own work but what seems to make people successful is their ability to get lucky on sites like this or game them.<p>No offense to OP. Here&#x27;s my project: <a href="https:&#x2F;&#x2F;github.com&#x2F;robertsdotpm&#x2F;p2pd">https:&#x2F;&#x2F;github.com&#x2F;robertsdotpm&#x2F;p2pd</a>
评论 #42579713 未加载
评论 #42580236 未加载