TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Localtunnel.me

111 pointsby p_m_gabout 11 years ago

18 comments

shtylmanabout 11 years ago
Author of the project here.<p>I want to clarify why this project exists (as many seem to point out that other projects or methods exist for doing this).<p>TL;DR; If you think of localtunnel as just a shitty ngrok (or name your project here), you are missing the point and probably don&#x27;t have the same use cases I do.<p>1. It was made overnight at some hackathon because I was not satisfied with the other tunneling options I found. They required either an account or some stupid ssh setup. I got to thinking of ways to create a tunnel that simply had an CLI tool and instantly get a tunnel no setup. It worked, I kept it.<p>2. It is written as a library first, CLI tool second. This means it can be used to create tunnels in a test suite if you want to use services like saucelabs to run browser tests (see <a href="https://github.com/defunctzombie/zuul" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;defunctzombie&#x2F;zuul</a>). This is leveraged by projects like socket.io and engine.io (among others). This is perhaps the main reason I keep it around despite there being alternative CLI tools.<p>3. Both the client and server code are availably and easy to install and use. Companies do this when they want to run their own tunnels for privacy (or whatever their reasons... I don&#x27;t care).<p>4. Yes, I know the name is identical to the old ruby?python? one. Whatever. That one seems defunct now anyway.
评论 #7586280 未加载
评论 #7587845 未加载
kevinburkeabout 11 years ago
I&#x27;m confused, there is an existing project called localtunnel that does exactly the same thing and dominates search results for &quot;localtunnel&quot;. At the very least, pick a different name.<p><a href="http://progrium.com/localtunnel/" rel="nofollow">http:&#x2F;&#x2F;progrium.com&#x2F;localtunnel&#x2F;</a>
评论 #7585681 未加载
评论 #7590898 未加载
评论 #7586092 未加载
julianwachholzabout 11 years ago
You can also use ngrok.com which has been around for quite a while. The developer even responds very quickly to support requests.<p>As a bonus, you also get:<p>- Custom (sub) domains<p>- TLS tunnels if you want, not mandatory<p>- Other protocols than just HTTP&#x2F;S
评论 #7585522 未加载
评论 #7585754 未加载
thaumaturgyabout 11 years ago
This seems like a bad idea. localtunnel.me is redirecting non-tunnel&#x27;d subdomains to its main page, while inactive tunnel&#x27;d subdomains return &quot;localtunnel error: no active client for &#x27;adbc&#x27;&quot;. So, with a little poking, you find that tunnel&#x27;d subdomains seem to be [a-z0-9]{4}.localtunnel.me ... which isn&#x27;t too terribly large of a search space to crawl. If it gets popular, it should be easy to find works-in-progress that might give up access to the user&#x27;s computer, or keys to prod, or any of the other stuff that people are a little sloppy about on their work machines.<p>edit: I was wrong, I should&#x27;ve been a little more thorough. Looks like it&#x27;s [a-z0-9]{4,10}.localtunnel.me, which is significantly larger.
JamyDevabout 11 years ago
I suggest you don&#x27;t use it until they have upgraded OpenSSL...<p>WARNING: server returned more data than it should - server is vulnerable! (Heartbleed)
评论 #7585380 未加载
jancborchardtabout 11 years ago
Oh nice! This looks very similar to <a href="https://pagekite.net" rel="nofollow">https:&#x2F;&#x2F;pagekite.net</a> (which is also open source), minus the need for an account. Good call.
评论 #7585590 未加载
rabinoabout 11 years ago
Also: Vagrant has added a &quot;vagrant share&quot; command that publishes access to your vagrant box, which should be safer than publishing access to your full machine.<p><a href="http://docs.vagrantup.com/v2/share/" rel="nofollow">http:&#x2F;&#x2F;docs.vagrantup.com&#x2F;v2&#x2F;share&#x2F;</a>
tedchsabout 11 years ago
Personally I would rather just use &quot;ssh -R&quot;, the built in remote port forwarding. You either need to flip a setting on the server to allow listening on an interface besides localhost, or configure Nginx&#x2F;etc as a reverse proxy.<p>For example:<p>ssh -f -N -q -R 2222:localhost:22 my_name@remote.example.com<p>Decent writeup here:<p><a href="http://www.noah.org/wiki/SSH_tunnel" rel="nofollow">http:&#x2F;&#x2F;www.noah.org&#x2F;wiki&#x2F;SSH_tunnel</a>
评论 #7587820 未加载
j0k3rabout 11 years ago
Isn’t the node.js version of the ruby one ? ie: <a href="http://progrium.com/localtunnel/" rel="nofollow">http:&#x2F;&#x2F;progrium.com&#x2F;localtunnel&#x2F;</a><p>Or the Go version: <a href="https://github.com/inconshreveable/ngrok" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;inconshreveable&#x2F;ngrok</a>
评论 #7585628 未加载
评论 #7585236 未加载
PinguTSabout 11 years ago
This seems like a bad idea or to phrase it correctly: use it wisely.<p>Because, you will use this service for the development to give someone outside access to something. If you then close the tunnel, the service will forward any request to its own server either to the main pager or to an error page. That means, all data given with a request, either via GET or via POST, will be given to that service. That could include sensitive data. That means, this kind of service is security risk.
评论 #7586617 未加载
cardamomoabout 11 years ago
If you have a VPS, why not set up a subdomain to proxy localhost connections forwarded through SSH? (e.g., $ ssh -R 8000:localhost:80)<p>I&#x27;m sure I&#x27;m missing some obvious disadvantage…
IceDaneabout 11 years ago
Wow. Exactly the same as ngrok, just .. worse.
eranrundabout 11 years ago
There&#x27;s also <a href="http://httpi.pe/" rel="nofollow">http:&#x2F;&#x2F;httpi.pe&#x2F;</a> - pretty similar both in concept and in implementation. The major difference would be an &#x27;inspection&#x27; view allowing users to view the traffic going through the tunnel.<p>(Shameless plug - I&#x27;m the author of httpipe)
veesahniabout 11 years ago
shameless plug: I created <a href="http://ultrahook.com" rel="nofollow">http:&#x2F;&#x2F;ultrahook.com</a> which does similar but with a focussed goal of receiving webhooks on localhost.
jbrooksukabout 11 years ago
This is awesome and only an hour a go I needed this. Perfect! :)
chintan39about 11 years ago
It would be nice to have option to allow custom URL
评论 #7585484 未加载
评论 #7586205 未加载
vayarajeshabout 11 years ago
Nice!! so easy to setup and use.. awesome work
asaddhamaniabout 11 years ago
This is pretty neat!