Live data from Hacker News

Pgrok – Poor Man’s Ngrok

github.com

61–70 of 83 posts

Re: Pgrok – Poor Man’s Ngrok

#62

We’ve used https://github.com/antoniomika/sish quite successfully. It‘s very easy to setup with docker compose and even supports letsencrypt wildcard certificates.

Thanks for posting! I’d suggest this to anyone that wants a stateless setup method which uses standard SSH key/password auth. sish also has support for internal tunnels (hidden from the world and accessible with local/remote SSH forwards), SNI tunnels (zero trust TLS tunnels), TCP, and of course HTTP(S)/WS. Also does request inspection ala actual ngrok :)

Disclaimer: I’m the author and have done tunneling for years

Re: Pgrok – Poor Man’s Ngrok

#63
post #42

I don’t see a usecase where a non dev should expose some local resource to the internet. These people don’t run local webservers, nor know how they work. ngrok is a developer tool. I don’t see why marketing a dev tool to non devs is a good idea, maybe somebody can explain?

I've heard of people wanting remote access to things like Plex or security cameras hosted in their basement. Usually via VPN, but I could see someone using this kind of thing.

Re: Pgrok – Poor Man’s Ngrok

#65
I find it quite amusing that I read the pgrok and ngrok websites (at least the front page) and cannot understand what the hell either of them do.

It's like they can do almost anything...what exactly? .... well whatever you can think of.....er like what?

You can open localhost to the internet.......?????????? Sorry?

Anyhow if anyone would care to put me out of my misery by explaining a bit I'd be grateful.

Re: Pgrok – Poor Man’s Ngrok

#66
post #65

I find it quite amusing that I read the pgrok and ngrok websites (at least the front page) and cannot understand what the hell either of them do. It's like they can do almost anything...what exactly? .... well whatever you can think of.....er like what? You can open localhost to the internet.......?????????? Sorry? Anyhow if anyone would care to put me out of my misery by explaining a bit I'd be grateful.

Proxies HTTP requests from a temporary server with a public domain record to a localhost server. Useful for some development environments, and also if you don't feel like dealing with networking in docker. At one company I worked at, we ran everything through vagrant and running ngrok was easier than a junior java engineer learning anything about networking.

Re: Pgrok – Poor Man’s Ngrok

#67
post #65

I find it quite amusing that I read the pgrok and ngrok websites (at least the front page) and cannot understand what the hell either of them do. It's like they can do almost anything...what exactly? .... well whatever you can think of.....er like what? You can open localhost to the internet.......?????????? Sorry? Anyhow if anyone would care to put me out of my misery by explaining a bit I'd be grateful.

Let's say you're running a local development server on localhost:3000

If you want to share this with someone not on your computer, it will proxy through a real domain name that someone else can access remotely.

Re: Pgrok – Poor Man’s Ngrok

#68
post #11

Has anyone tried this for a free ngrok alternative that works with HTTPS, doesn't require setting up a server and has no rate limit within reason? https://developers.cloudflare.com/pages/how-to/preview-with-... Based on the page it looks like you can install Cloudflare's CLI and then run `cloudflared tunnel --url http://localhost:3000 `, and you'll get back a URL to visit such as https://seasonal-deck-organisms-sf.tr…

[dead]

Re: Pgrok – Poor Man’s Ngrok

#69
post #65

I find it quite amusing that I read the pgrok and ngrok websites (at least the front page) and cannot understand what the hell either of them do. It's like they can do almost anything...what exactly? .... well whatever you can think of.....er like what? You can open localhost to the internet.......?????????? Sorry? Anyhow if anyone would care to put me out of my misery by explaining a bit I'd be grateful.

[deleted]
Post reply on HN