7 ms·
Localtunnel: Quickly expose your local web server to the Internet
- melvinram 15y agoWow! That's amazing! It actually works. Major Kudos to Twilio! Thank you. I'll be using this quiet often.
- bks 15y agoI was at the San Diego Ruby meetup group two weeks ago where one of the Twilio developers was on hand doing some demo work with the API. He was using this to tunnel the API / http calls through the firewall back to his local machine. Very impressive.
- rgrove 15y agoI've used localtunnel quite a bit for quickly sharing a local dev server with a coworker and other things of that nature, but I noticed that after leaving a tunnel open for a while I would see requests from unfamiliar IP addresses. It turns out this is because localtunnel reuses tunnel ids. Given how small the id space is, it's also possible that there are people who scan localtunnel URLs looking for interesting servers. Keep this in mind before using localtunnel for anything you don't want the world to see.
- adelevie 15y agoI just started using localtunnel and this seems a bit worrying. It seems that a change to line 40 in server.py (https://github.com/progrium/localtunnel/blob/d5eca8bab37f324221fee5ae7eb3dbdd947d7dc4/server.py https://github.com/progrium/localtunnel/blob/d5eca8bab37f324...) could lengthen the subdomain.
- progrium 15y agoyep, i never expected this much usage. this will be taken care of.
- laxj11 15y agocould this be used for minecraft servers?
- flexd 15y agoIt could be used for anything TCP based at least, not sure if it forwards UDP. :-)
- progrium 15y agoit only works with http right now, actually
- HerraBRE 15y agoIf minecraft clients can be configured to use HTTP proxies, you should be able to expose a minecraft server using PageKite; PageKite can handle arbitrary TCP streams, as long as the client knows how to initialize the connection with an HTTP CONNECT. On the PageKite side, you'd register your minecraft server as a 'raw' backend. On the minecraft client, googling suggests this might be what you need: http://www.reddit.com/r/Minecraft/comments/fr2z9/how_to_get_minecraft_working_with_http_proxy_in_13/ http://www.reddit.com/r/Minecraft/comments/fr2z9/how_to_get_... - you would tell it that the PageKite front-end is an HTTP proxy.
- ccollins 15y agoI inadvertently hit someone else's server when refreshing XXXX.localtunnel.com that I had left open in my browser (but since closed my tunnel). That was annoying. Two suggestions: 1) Randomly assign subdomain names instead of reusing existing ones. 2) Increase the length of the subdomain from 4 characters to 6 characters. With 4 characters, each being a-z0-9, there are 36^4 subdomain possibilities. 36^6 would make it much more difficult to locate an active subdomain through trial and error. 36^4 = 1,679,616 36^5 = 60,466,176 36^6 = 2,176,782,336
- progrium 15y agoyes! there is a ticket for this in github
- jrockway 15y agoNice. But isn't it time to just get yourself an IPv6 tunnel, and then be able to share anything that runs over the Internet instead of just one port? Then you can use the normal IP routing and access control machinery instead of having to roll your own.
- riffraff 15y agothe problem is mostly getting the other people to use ipv6, even when I have a ipv6 setup
- jrockway 15y agoThe reason people don't bother with IPv6 is because it doesn't get them anything. But if you use IPv6 and share an IPv6-only-URL, then they'll finally have a reason to turn it on. Repeat this a few times, and NAT dies forever!
- ducuboy 15y agoAnyone building this in python?
- HerraBRE 15y agohttp://pagekite.net/ http://pagekite.net/ is a FOSS Python implementation of a similar concept. It doesn't rely on SSH, supports SSL and CNAMEs and works quite well on Windows as well as Linux/OSX. You can sign up for service or run your own. I am the author. :-)
- flexd 15y agoNice work, but doesn't this do exactly the same thing as https://showoff.io/ https://showoff.io/ does? And they linked it here a month or so ago I think. [1] [1] http://news.ycombinator.com/item?id=2467107 http://news.ycombinator.com/item?id=2467107
- nmb 15y agoLocaltunnel was around first, it seems: http://news.ycombinator.com/item?id=2468324 http://news.ycombinator.com/item?id=2468324 (thread from the same post). also it is free.
- RobLach 15y agoNot exactly. This has a crucial feature where money stays in your wallet past 5 minutes of use.
- flexd 15y agoThat is a quite nice feature yes.. and I like open source more! :-) My mistake.
- sidmitra 15y agoAn alternative way i've used to test Twilio till now is get a DynDNS account and point it to my home laptop. Infact my home router has a DynDNS option to fill in my username/password, so it can query the latest external domain assigned to it. This is useful if you're on a DHCP and don't have a static IP. You get a domain like blah.ath.cx that you can use.
- Estragon 15y agoWhat are the bandwidth limits on this service?
- deleted 15y ago[deleted]