Skip to main content

Remote Desktop Over Internet without static IP

Remote Desktop Over Internet without static IP

Idea behind this technique is use a free tunneling service provide by ngrok.com and redirect all tcp packet to our local system by running a ngrok client in local system.since Remote Desktop service use tcp with port  3389 all the tcp packet arrive to ngrok will redirect to tcp of local host . and we can able to connect to rdp from internet.

 Ngrok

ngrok is a cross-platform application that enables developers to expose a local development server to the Internet with minimal effort. The software makes your locally-hosted web server appear to be hosted on a subdomain of ngrok.com, meaning that no public IP or domain name on the local machine is needed.

Login to Remote Desktop via ngrok url.

After Login to ngrok and download client and start it using below command. 

 ngrok tcp 3389 


once the client in local create a session a unique url was published in tunnels section in ngrok.com of your login. please find the screen shot below.

now you can able to login via Remote Desktop client .

Below we can login via Microsoft RD client for android.


       


Configure Ngrok  

ngrok.png

Webhooks are great! They are a perfect way for API services like Twilio to notify your application of events such as incoming calls or text messages. The one difficulty is that when you are developing an application that consumes webhooks you need a publicly accessible URL to configure the webhook service with. Typically you would develop on localhost and the rest of the world would have no access to your application, so how do you test your webhooks?

Well, that’s where ngrok comes in. ngrok is a free tool that allows us to tunnel from a public URL to our application running locally. Here’s my 6 favourite things about ngrok:

1. It’s really easy to install and use

ngrok is built in Go so it is packaged as binaries for each major platform. To install ngrok do the following:

  1. Download the package for your system
  2. Unzip the package
  3. There is no step 3!

Well, there is no step 3 if you have a Mac or Linux, if you’re on Windows you might have a bit more work to do. Thankfully Devin’s got you covered with his post on how to configure ngrok on Windows.

Once you have ngrok installed, using it to tunnel to an application running on, say, port 3000 is as easy as:

 

$ ./ngrok http 3000 

 

Bonus install tip!

Once you’ve unzipped the ngrok executable move it to a folder that’s in your $PATH then you can run ngrok from anywhere you want on the command line by just typing:

 

$ ngrok http 3000

 

If you want a more in depth article on how to hook up ngrok with your Twilio apps, check out Kevin’s post on getting started with ngrok. Watch out though, as the commands have changed with the release of ngrok 2. You can follow the post, but substitute the syntax above to make sure it works.

2. It has a dashboard

When you start up ngrok it shows you the URL you are tunnelling through and another local URL, http://127.0.0.1:4040. Open that up and gaze in wonder at the dashboard in front of you.

The dashboard allows you to see the status of your tunnel, the requests you have made through it and the responses that came back from your application. Great for debugging misfiring webhook endpoints.

3. You can replay requests

Take a look again at that dashboard. Not only can you inspect requests that came through the ngrok tunnel, you can replay them.

Now when your SMS endpoint is misbehaving, rather than sending another message and then another message until you get it right, you can just replay the incoming request from the dashboard.

4. You can secure your tunnels

Worried about someone snooping on the super secret app you’re developing but still need to open a tunnel to check something? Stop worrying right now and check this out!

 

$ ngrok http -auth "user:password" 3000

 

Boom! Your tunnel is now protected using HTTP auth. Noone’s spying on your business!


Comments

  1. Your style is so unique compared to other people I have read stuff from. Many thanks forposting when you have the opportunity, Guess I will just bookmark this site Debut Remote Computer Manager Enterprise

    ReplyDelete

Post a Comment

Popular posts from this blog

windows concurrent User via Remote Desktop

  Professional and Ultimate editions of Windows come with a built in Remote Desktop (RDP) feature that allows you to access your machine remotely while away from home or the office. Unfortunately, it is limited by default to one concurrent user per session, meaning that if someone remotely connects to the computer, whoever was logged in at the moment will be automatically logged off, even if the user is physically at the computer. This is not a technical limitation but rather a licensing one. Case in point, Remote Desktop in server editions of Windows by default supports two concurrent connections to remotely troubleshoot or administer a computer. More users can connect simultaneously, too, as long as the machine can handle it with the resources it has available and you have the required client access licenses for that particular server. However, there are a few reasons why concurrent sessions would come in handy for power users not necessarily running a server. For example, if you...

Archetutre of IOT

Basic Archetutre of IOT       The IOT consist of low level peripherals and  sensors to collect data from Environment. Process the data and make ready to consume by the cloud/application or push the data to the cloud/application.  the layers of the IOT are given below.  Board Hardware  Booting Frimware Operating System  Application with Networking Board Hardware      The hardware is based on the requirement of the IOT. for example if a customer need to on/of the all the lights and fans based on the light intensity and temperature , the necessary hardware setup are temperature sensor , light sensor ,relay to on of the switch and microprocessor . Booting Firmware   As we are going to use Processor combined SOC (system on Chip) , we need Boot Firmware. if we purchase a OrangePi ,RasberryPi or BananaPi even we can use our own Smartphones , this case it is embedded inside the device . which is provided by manufacture...