Hacker News new | ask | show | jobs
by toomim 57 days ago
For this stuff, I'm most excited about https over iroh.

- https://github.com/aflin/iroh-webproxy

- https://github.com/n0-computer/iroh-proxy-utils

No port forwarding. No public IP required. No special proxy to set up.

Iroh already runs public relays. Your two computers will signal through those, and then port-knock and form a direct connection to each other, perfectly encrypted.

We just need to define a new https:// url, like ... let's call it "irohttps://" maybe, so then you could contact my laptop with "irohttps://<hash>/path?query".

3 comments

>and then port-knock and form a direct connection to each other, perfectly encrypted.

so... ICE/TURN/STUN ? Sorry I forgot which one of them actually works, but they do work

Yes, and TLS/QUIC/Wireguard all offer encryption.

What toomim is excited about is this combination of technologies, and that's more than just NAT punching or encryption.

"Iroh already runs public relays."

That's not "self-hosting"

Last I checked this project also automatically forwards traffic through their servers when direct connections fail

It's not even peer-to-peer

You can run your own relay server, see "Setup Relay Server" below

https://github.com/rustonbsd/iroh-ssh/blob/main/CUSTOM_RELAY...

As indicated by the quote, I'm responding to the statement "Iroh already runs public relays."

AFAIK, the project does not claim these relays are only for testing

As such, the project is promoting something other self-hosting

The OP relates to self-hosting

iroh-ssh works today: https://github.com/rustonbsd/iroh-ssh

Not perfectly, but good enough for port forwarding web interfaces through cgnat

Where doesn't Iroh work well?