17 ms·
Serveo: Expose Local Servers to the Internet
- dang 7y agoA thread from 2017: https://news.ycombinator.com/item?id=14842951 https://news.ycombinator.com/item?id=14842951
- maxpert 7y agoHave been personally using it and I believe it’s a better alternative to ngrok.
- FloatArtifact 7y agoNever really figured out how to use it with for Minecraft server for over predictive firewalls.
- xenator 7y agoIsn’t it for HTTP traffic?
- Advaith 7y agoI've been using ngrok for development purposes. This seems like an interesting alternative.
- kevsim 7y agoAgreed. In particular when testing any sort of web hooks/callbacks, I get pretty sick of constantly updating configurations as the ngrok tunnels change subdomain. Self-hosting is also a nice option.
- tourdownunder 7y agoI've wanted to do something similar to test webhooks in the past.
- neilk 7y agoI really like Serveo. I’ve used it to develop proper previews and unfurls for social media. Facebook etc need a real public URL to even show you a preview. And the other day I used it as a quick way to debug a server-client communication issue. I’m developing a server, and the client developer is in a completely different location. For a while I kept deploying dev servers with little tweaks, but our progress was slow, Then I gave up and just exposed a local running server to the internet via Serveo. My counterpart pointed his client there, and we quickly iterated to a solution. Yes we could have solved this in many other ways (remote debugging, VPNs, etc) but this was surprisingly easy.
- vajra 7y agoThis is nice and i remember seeing this a while ago. However we couldn’t use it since during local development, the engineers are quite relaxed with secret keys, passwords, standard protocols …etc.
- rohan1024 7y agoNAT has crippled the Internet. We are permanently dependent on public facing servers to route packets from one device to the other. This service is absolutely not needed in a non-NAT world. And I strongly believe we have lost a lot by being completely dependent on client-server model of Internet. I've written more about it here https://www.ankshilp.in/post/the_broken_promise_of_internet/ https://www.ankshilp.in/post/the_broken_promise_of_internet/
- tambre 7y agoFortunately we're being uncrippled again by the continued deployment of IPv6 [0]. [0]: https://www.google.com/intl/en/ipv6/statistics.html https://www.google.com/intl/en/ipv6/statistics.html
- dmix 7y agoGermany (44%) and Belgium (53%) are killing it! The biggest surprise is India matching the US, must be that Indian mobile company that people mentioned here the other day? I'd love to see similar graphs for TLS. Edit: Google shows it only for Chromium sampling but it's nearly 90% in most countries which is almost double what it was before the Snowden leaks: https://transparencyreport.google.com/https/overview https://transparencyreport.google.com/https/overview
- rohan1024 7y agoYes! It's the same company. There network was ipv6 ready since day one.
- TrueDuality 7y agoHonestly I think the adoption of TLS has more to do with free certificates from LetsEncrypt and CloudFlare than the Snowden leaks. As much as I'd like to think people were concerned about the privacy of their communications... I don't think most of the masses actually care about security or avoid conveniences based on threats to their privacy...
- xref 7y agoI’ve been using self-hosted localtunnel but man is it unstable. It loses connections several times a day and never releases now “dead” urls, so you can’t count on a specific sub domain. I’ll have to give serveo a whirl
- xenator 7y agoI have this problem with Servo. Having your own name is big advantage over ngrok. But connection need restart regularly.
- deforciant 7y agoHi! check out webhook relay https://webhookrelay.com/ https://webhookrelay.com/ :) it has multiple ways to forward webhooks and internal connection healthchecks. Disclaimer: I built it.
- iampims 7y agoI’m a big fan of Cloudflare Tunnels: https://www.cloudflare.com/products/argo-tunnel/ https://www.cloudflare.com/products/argo-tunnel/ https://ngrok.com https://ngrok.com is also a very good alternative.
- saravananl7 7y agoWhy does edge/defender report this site is unsafe ?
- T-A 7y agoI guess somebody is/was using it to serve up malware, which gets attributed to the serveo.net domain when reported.
- ultrarunner 7y agoI have to do something similar when testing Apple Pay et al in development. I only get one connection at a time, and the latency is huge. Is ssh capable of multiple connections within a tunnel? Is Serveo relatively performant?
- dboreham 7y agoNote: you can do this yourself with a basic Linux VM, config to permit reverse ssh tunnel, and run some SSL proxy like Apache. And a DNS record.
- Proven 7y agoSure I can set up a "basic" VM with several services that have to be configured and maintained just to have this one feature, but why bother when this service and several hosted alternatives provide it for free? One basic VM for mail, another for DNS, another for something else and soon you have a shitload of VMs, some of which are likely misconfigured and security risks. It's not like no one has heard of hypervisor.
- deleted 7y ago[deleted]
- adamfeldman 7y agoI came across Chisel today -- it supports TCP traffic and isn't limited to 3 tunnels like Serveo https://github.com/jpillora/chisel https://github.com/jpillora/chisel
- zackify 7y agoShameless plug, but I just wrote a post on rolling this yourself in 15 minutes or less. https://zach.codes/roll-your-own-ngrok/ https://zach.codes/roll-your-own-ngrok/
- trickstra 7y agoI was trying to achieve the same with ssh tunnels a while back, but I wanted to have certbot running on the local machine, not on the DO server. So nginx on the server would have to forward everything as-is, encrypted. Is that possible?
- antoniomika 7y agoIt sounds like what you're looking for is to just forward the TCP port without having nginx do the SSL termination for you. You can achieve that with vanilla SSH though, just by forwarding port 443. If you want the virtual hosting, you could use an SNI proxy (haproxy with SNI tcp proxying should do for that)
- ahmadster 7y agoCurious, what was this written in?
- rmetzler 7y agoI had the same question and a hunch it would be Go. The old 2017 thread has the answer and indeed, it’s Go.
- trevordixon 7y agoHey cool, this is my side project! I've been trying to think of other interesting things to add to the project. For example, OpenSSH can do TUN/TAP tunneling, so you can use SSH as a proper VPN. (See https://wiki.archlinux.org/index.php/VPN_over_SSH https://wiki.archlinux.org/index.php/VPN_over_SSH) How could that be useful in Serveo? How else could SSH be used creatively?
- ris 7y agoIt all almost seems too easy. How much time do you have to spend dealing with abuse reports?
- mijoharas 7y agoI've written and am running something exactly like this for my work. (We used to use forward.wf but had to move away from it, a third party blocked it). Very simple system, just a server+ nginx + letsencrypt. Tiny service to set new people up. We've been running out the last year or so, it took an hour or 2 to write, and hasn't needed more than that maintenance since.
- antoniomika 7y agoAnother shameless plug, but I wrote something that pretty much does the exact same thing: https://github.com/antoniomika/sish https://github.com/antoniomika/sish. Main difference was I didn't look forward to having to run a proprietary binary to achieve something I could write and I wanted to have SSH authentication built in so I can have it available publicly without having to worry about abuse.