Show HN: Malai – securely share local TCP services (database/SSH) with others
107 amitu 44 5/27/2025, 2:34:40 PM malai.sh ↗
malai is a peer to peer network, and is a dead simple to share your local development HTTP server, without setting up tunnels, dealing with firewalls, or relying on cloud services.
In malai 0.2.5, we have added TCP support, which means you can expose any TCP service to others using malai, without opening the TCP service related port to Internet. With malai installed on both ends, any TCP service can be securely tunneled over it.
It can be used to secure your SSH service, or securely share your database server.
GitHub: https://github.com/kulfi-project/kulfi (star us!)
Would love feedback, questions, or ideas — thanks!
PS: We have also added `malai folder`, which lets you share (readonly) the content of a folder with others.
What is the DNS story for this platform? Or are you intending to be kind of like a replacement for Syncthing where each endpoint has to explicitly approve the other and thus discovery is left as an exercise to the reader?
Actually, even after further thought, I am still able to rename my peers in Syncthing, and unless one has to go to the dashboard for getting that Talk App link(? button?) all the time, it's been my experience that folks will always want aliases for ginormous hex strings
---
p.s. you have some broken images in your Journey docs
Kulfi App is a web browser that talks kulfi protocol natively, so you can open kulfi://<id52> natively. malai is the server side part of this story, and can expose existing HTTP/TCP services over kulfi:// network.
For DNS, here is my initial deign/thought: https://github.com/kulfi-project/kulfi/discussions/55
For access control, we are working on a "what-to-do" service, which is an bunch HTTP/JSON APIs, that will be called by the malai (which runs on your server, or even as part of Django/Node/Golang once we wrap malai as a cffi library, and write corresponding Python/Node etc packages). You will be able to write the what-to-do in any framework you like, and we will maintain a general purpose open source what-to-do service.
Anyway, project seems great and all, but I'll wait for pista. :)
SSH is one of the most secure network daemons ever devised. This is not to say that there is never any need to harden SSH, but given that people usually secure services behind SSH, I find the words “secure your SSH service” strange.
That said, I am no stranger to bastion/jump hosts, but those usually involve accessing one ssh host through another ssh host.
Kulfi App is going to be a browser like Google Chrome, available on various app stores, and it will speak both http over tcp and http over kulfi. Kulfi app acts like client (but is also a server, so on your iPhone tomorrow you can install Kulfi, which will let you access any http over kulfi site, and also will run a web server which is exposed over kulfi net for others to access, so my Android phone's Kulfi browser can connect with the your iPhones Kulfi's web server, with no intermediary [1]).
malai is ready now, and it is a Swiss army knife toolkit for working with kulfi net. Currently malai can expose a HTTP or TCP service over kulfi net.
Malai also has a "http bridge" feature, which bridges any malai exposed http over kulfi service with the http over tcp, so people can use regular browsers to access malai exposed HTTP services.
[1]: we are using https://www.iroh.computer/blog/iroh-dns, so their caveats apply.
I feel like I'm missing a lot of context to understand what's being shared here.
We love to see new ideas in this space since we think tunnels are great for prototyping and app development.
[1]: https://www.iroh.computer
Does the same thing as a bunch of other systems (e.g. Tor) without providing any comparison of what this one does better.
Docs pages are TODO, certainly don't explain how it works.
Website is "Copyright 2025 YourCompany, Inc."
Discord link goes to something called "fastn" with apparently no relation to Kulfi.
No explanation of how it works
Comments in this thread reveal a bunch of obscure components that also don't have much details.
The comparison posts, TODO, copyright etc we will do/fix when we get around to it. It's all open source, you can send PRs as well.
Usually my first question is what makes this different than the many existing options. Looks like the answer in this case is that it's p2p and built on iroh (which is built on QUIC), which I find interesting. Would love a PR on the list.
No comments yet
I use and like tailscale for similar purposes, but I can see why some people might prefer to skip that aspect, especially.
https://tailscale.com/kb/1312/serve
Tailscale funnel is publicly accessible
https://tailscale.com/kb/1223/funnel
https://tailscale.com/kb/1247/funnel-examples