localtunnel | Expose localhost servers to the Internet

 by   progrium Go Version: v1 License: MIT

kandi X-RAY | localtunnel Summary

kandi X-RAY | localtunnel Summary

localtunnel is a Go library. localtunnel has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

What happened to localtunnel? After pioneering instant public tunnels to localhost, many people copied the project and started businesses around the idea. Localtunnel fell into obscurity. Today, Alan Shreve's Ngrok rightly dominates mindshare on the idea. This repo now contains localtunnel v3, a very minimal implementation (under 200 lines) written in Go using my new project Duplex. Duplex lets you make stuff like localtunnel very easily. Although usable, there is no public server and the scope of the project is pretty fixed where it is.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              localtunnel has a medium active ecosystem.
              It has 3145 star(s) with 247 fork(s). There are 81 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 12 open issues and 88 have been closed. On average issues are closed in 683 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of localtunnel is v1

            kandi-Quality Quality

              localtunnel has 0 bugs and 0 code smells.

            kandi-Security Security

              localtunnel has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              localtunnel code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              localtunnel is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              localtunnel releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.
              It has 109 lines of code, 3 functions and 3 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of localtunnel
            Get all kandi verified functions for this library.

            localtunnel Key Features

            No Key Features are available at this moment for localtunnel.

            localtunnel Examples and Code Snippets

            Receiving Messages
            Pythondot img1Lines of Code : 30dot img1no licencesLicense : No License
            copy iconCopy
            import os
            from flask import Flask, request, Response
            
            
            app = Flask(__name__)
            
            SLACK_WEBHOOK_SECRET = os.environ.get('SLACK_WEBHOOK_SECRET')
            
            
            @app.route('/slack', methods=['POST'])
            def inbound():
                if request.form.get('token') == SLACK_WEBHOOK_SECR  

            Community Discussions

            QUESTION

            docker logs within a bash script doesn't work
            Asked 2021-Dec-15 at 16:35

            I'm experimenting a weird behaviour of Docker in a bash script. Let's see these two examples:

            ...

            ANSWER

            Answered 2021-Dec-15 at 16:35

            Processes take time to react. They may be no logs right after starting a process - it has not written anything yet. Wait a bit.

            Source https://stackoverflow.com/questions/70365715

            QUESTION

            Laravel Paypal IPN with localtunnel randomly 400 Bad request
            Asked 2021-Aug-06 at 04:38

            I use the PHP implementation found at Paypal.com.

            I run php artisan serve to start the server.

            Then i use localtunnel to make the server accessible through paypal.

            The problem: I receive a ipn message, this message is sended back to paypal and than:

            Sometimes the message gets VERIFIED and sometimes i receive a

            ...

            ANSWER

            Answered 2021-Aug-06 at 04:38

            Does this 400 error occur when testing IPN in sandbox mode? If so, the issue is related to PayPal's recent sandbox migration to the cloud. For now, change the sandbox postback verification hostname from ipnpb to www:

            Source https://stackoverflow.com/questions/68672642

            QUESTION

            Dart http.MultipartRequest not sending data to Lumen after relocating server to a different apache server, Postman works fine
            Asked 2021-Aug-03 at 13:47

            I have a multipart request I'm trying to send from my Flutter app to my remote Lumen/Apache server. This code was working fine when I was hosting my Lumen server in Homestead locally, which runs nginx.

            The Lumen server itself responds accurately when sending the request via Postman. I doubt the Flutter application is sending nothing at all, as it was working before the server move. Since it's not the Lumen app, as it works with Postman, then I presume it has something to do with apache.

            The header I set, using http.MultipartRequest() is (in Postman I used form-data):

            ...

            ANSWER

            Answered 2021-Aug-02 at 21:46

            Update: This answer only partially solved the issue.

            Using tcpdump on the server, I found that the server is indeed receiving data (even though Lumen was saying that it was not receiving data), and the amount of data seemed to correspond with whether a file is attached or not. From this, it seemed the problem was occurring with Apache, PHP, or Lumen.

            I also enabled mod_dumpio, and tested the requests with and without a file and both appear to send data normally. The file request was clearly sending a large amount more, and the Content-Length reported seemed accurate, even though Lumen was reporting no data.

            Sorting through error.log I did find the error, however. It was just that PHP was dropping the data because it exceeded the post_max_size size of 8MB. Once editing php.ini for that and upload_max_filesize, the application worked fine.

            What's funny is that's usually the first error that occurs with file uploads and PHP servers, so it's weird I didn't suspect it. It would be nice if PHP issued a 413 Response by default.

            Source https://stackoverflow.com/questions/68510733

            QUESTION

            How do I access my local server through public network?
            Asked 2021-Jun-30 at 18:32

            I have a nodejs server working on a raspberry pi. My mobile app should find this server on local network and be able to connect to it and exchange data. But I also should be able to connect, manually, to this server out of local network, in a public one.

            I've been looking for tunnels like ngrok, localtunnel etc. But I would like to know if have others ways to do that. Should I use VPN?

            I would be glad with help. Thanks!

            ...

            ANSWER

            Answered 2021-Jun-30 at 18:32

            your local network must have some gateway/router connecting it to the internet - if it's a home network, probably integrated with your cable/dsl/fiber modem or attached router. This gateway holds the public IP of your connection to the internet. It will be to this IP your public connections will need to connect.

            You can configure your network's router to port forward incoming connections on a given port to the internal address of your server. Keep in mind that this means it's open to the wide internet.

            Source https://stackoverflow.com/questions/68199689

            QUESTION

            localtunnel and CORS not working properly
            Asked 2021-May-12 at 16:07

            I am using localtunnel to expose my backend and frontend. Right now, I have a very simple setup like this one:

            ...

            ANSWER

            Answered 2021-May-12 at 16:07

            I found the solution for my problem. Looks like you first need to access to the dynamic url serving your backend and click on "Continue". After doing that, CORS won't be a problem anymore.

            Source https://stackoverflow.com/questions/67496146

            QUESTION

            how to use flask-ask without using ngrok
            Asked 2020-Aug-05 at 08:20

            okay so I'm really inexperienced with all this so bear with me if this is a dumb question.

            So I'm planning out a raspberry pi that can turn my computer off and on with alexa commands. So far the best candidate I've found so far is flask-ask. My only issue with it is that it seems to rely on ngrok, and since I want to have this as a permanent part of my computer, I would have to buy at least the basic tier so I could have a static url. I would rather not do this as 60 dollars a year is a bit more than I am willing to pay for something like this. What I want to know is if and how I can use flask-ask with ngrok alternatives like localtunnel or something else along those lines.

            ...

            ANSWER

            Answered 2020-Aug-05 at 08:20

            You can use https://github.com/Miserlou/Zappa to deploy your flask-ask application.

            Tutorial available here : AWS Alexa deploy on aws lambda using zappa

            Source https://stackoverflow.com/questions/63239552

            QUESTION

            I installed npm and it had 7 vulnerabilities that had to be fixed manually
            Asked 2020-Jul-18 at 15:34
              Low             Prototype Pollution
            
              Package         minimist
            
              Patched in      >=0.2.1 =1.2.3
            
              Dependency of   lite-server [dev]
            
              Path            lite-server > minimist
            
              More info       https://npmjs.com/advisories/1179
            
            
              High            Denial of Service
            
              Package         http-proxy
            
              Patched in      >=1.18.1
            
              Dependency of   lite-server [dev]
            
              Path            lite-server > browser-sync > http-proxy
            
              More info       https://npmjs.com/advisories/1486
            
            
              Low             Prototype Pollution
            
              Package         yargs-parser
            
              Patched in      >=13.1.2 =15.0.1 =18.1.2
            
              Dependency of   lite-server [dev]
            
              Path            lite-server > browser-sync > localtunnel > yargs >
                              yargs-parser
            
              More info       https://npmjs.com/advisories/1500
            
            
              Low             Prototype Pollution
            
              Package         yargs-parser
            
              Patched in      >=13.1.2 =15.0.1 =18.1.2
            
              Dependency of   lite-server [dev]
            
              Path            lite-server > browser-sync > yargs > yargs-parser
            
              More info       https://npmjs.com/advisories/1500
            
            
              Low             Prototype Pollution
            
              Package         lodash
            
              Patched in      No patch available
            
              Dependency of   http-proxy-middleware [dev]
            
              Path            http-proxy-middleware > lodash
            
              More info       https://npmjs.com/advisories/1523
            
            
              Low             Prototype Pollution
            
              Package         lodash
            
              Patched in      No patch available
            
              Dependency of   lite-server [dev]
            
              Path            lite-server > browser-sync > easy-extender > lodash
            
              More info       https://npmjs.com/advisories/1523
            
            
              Low             Prototype Pollution
            
              Package         lodash
            
              Patched in      No patch available
            
              Dependency of   lite-server [dev]
            
              Path            lite-server > lodash
            
              More info       https://npmjs.com/advisories/1523
            
            found 7 vulnerabilities (6 low, 1 high) in 354 scanned packages
              7 vulnerabilities require manual review. See the full report for details.
            
            ...

            ANSWER

            Answered 2020-Jul-04 at 05:17

            If you are absolutely certain that you solved all vulnerabilities you'd like to skip the audit, you can do so by appending --no-audit.

            npm install --no-audit

            or npm will fix for you

            npm audit fix

            But this will update version of modules. Which might lead to breaking of code.

            Source https://stackoverflow.com/questions/62725538

            QUESTION

            Nuxt localtunnel module
            Asked 2020-Apr-23 at 18:57

            Im having a Nuxt.js project where i have installed the fallowing module @nuxtjs/localtunnel

            I did as instructed where I module in my nuxt.config.js

            ...

            ANSWER

            Answered 2020-Apr-23 at 18:57

            It could be a problem with localtunnel or your localtunnel connection, maybe involving SSH. You could run DEBUG=* npx localtunnel -p 8000 and see if you get an error message.

            FWIW, I am currently getting the message localtunnel:client tunnel server offline: unable to verify the first certificate, and it is not returning the subdomain.

            Source https://stackoverflow.com/questions/61394294

            QUESTION

            Secure way to access DB on Raspberry pi outside home network
            Asked 2020-Mar-17 at 16:46

            I have a postgres database installed on my raspberry pi that works fine locally within my home network. I would like to be able to access this from outside my home network. I've done some research and from what ive seen port forwarding on my router or using a service like localtunnel or ngrok seem like viable solutions.

            However, my question is if these open up any security risks on my home network? If not, then great i can move forward with setting this up (i was leaning towards port forwarding on my router). But if there are concerns, what exactly are they and what steps can I take to have a secure setup?

            ...

            ANSWER

            Answered 2020-Mar-17 at 16:46

            If you expose your database to the world with a weak password for a database superuser, that will definitely lower your security in a substantial way. Hackers routinely patrol for such weak settings and exploit them, mostly for cryptocurrency mining but also to add you to botnets. In those cases they don't care about your database itself, it is just a way in to get at your CPU/network connection. They might also probe for valuable information appearing in your database, in which case they don't even need to be a superuser.

            If you always run the latest bugfix version and use a strong password (like the output of pwgen 20 -sy -1) and use SSL or if you correctly use some other method of authentication and encryption, then it will lower security by only a minimal amount.

            If you personally control every password, and ensure they are strong, and test that they are configured correctly to be required for log on (e.g. intentionally enter it wrong once to make sure you get rejected), I wouldn't worry too much the port forwarding providing bad guys access to the machine. If you care about people being able to eavesdrop on the data being sent back and forth, then you also need SSL.

            Encrypted tunnels of course are another solution which I am not addressing.

            Source https://stackoverflow.com/questions/60715774

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install localtunnel

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/progrium/localtunnel.git

          • CLI

            gh repo clone progrium/localtunnel

          • sshUrl

            git@github.com:progrium/localtunnel.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link