News for hackers. Stuff that matters.
Re:Ngrok Alternatives by qbasic_forever on Wednesday February 23, 2022 @02:45PM (#30445421)
Tor/onion hidden services are under-appreciated here and a good fit for potentially replacing ngrok: https://community.torproject.org/onion-services/setup/

You need to run a tor daemon on the server side and then a tor browser or tor on the client side, but other than that there is no other setup or intermediary service/server necessary. This solves a lot of pain that many ngrok alternatives still require you to run (or pay for using) some central hub server, have a public IP & DNS, etc.

Re:Ngrok Alternatives by cmars on Wednesday February 23, 2022 @10:34PM (#30449909)
I made a little utility for tunneling with the Tor daemon. Check out https://github.com/cmars/onionpipe.

onionpipe forwards ports on the local host to remote Onion addresses as Tor hidden services and vice-versa.

Re:Ngrok Alternatives by judge2020 on Wednesday February 23, 2022 @06:52PM (#30448392)
The client part is exactly why people might use ngrok to get a public hostname - the number 1 priority is access to an internal resource from anywhere in the world with minimal setup, and that ngrok/other mediator means nobody needs any inbound ports open besides via loopback on the host.
Re:Ngrok Alternatives by qbasic_forever on Wednesday February 23, 2022 @07:13PM (#30448591)
Yeah it depends--I use ngrok (or similar services) for access to internal stuff I run. I don't want to pay money to run a VPS in the cloud when I have a NAS, etc. running it at home. But I also don't want to pay a premium for a public IP at home, and deal with the immense security headache of securing such an entrypoint from the public internet. So a tor hidden service works great as a no cost VPN-like alternative.

But yeah if your goal is "expose this thing with a public IP/DNS" then there is no way around using your own server, or buying/leeching off a service like ngrok.

You don't need any incoming ports open for a tor hidden service either though. Both the server and client side connect out to tor, and then get routed to each other over it.

Re:Ngrok Alternatives by controversial97 on Thursday February 24, 2022 @03:11AM (#30452070)
If things that require client side software other than a standard browser count, then there is the Yagdrasil network and Hamachi.
Re:Ngrok Alternatives by anderspitman on Wednesday February 23, 2022 @03:54PM (#30446312)
I've been meaning to add Tor to the list. PRs welcome.
Re:Ngrok Alternatives by madacol on Wednesday February 23, 2022 @05:47PM (#30447661)
I made a little write up on how to setup onion services for ssh https://github.com/madacol/knowledge/blob/master/Ssh%20serve...

Just follow the first part, and change the port to whatever you are using

You always need a compatible client on the other side