How to Create Free RDP 2023- New Trick | Create High-Speed RDP

Remote Desktop Protocol (RDP) is a technology that enables users to remotely connect to another computer through a network. In this blog post, we will guide you through the process of creating an RDP server using Ngrok and Github, making it easy to access your local server securely from a remote location.

PHP Code

name: CI


on: [push, workflow_dispatch]


jobs:

  build:


    runs-on: windows-latest


    steps:

    - name: Download

      run: Invoke-WebRequest https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-windows-amd64.zip -OutFile ngrok.zip

    - name: Extract

      run: Expand-Archive ngrok.zip

    - name: Auth

      run: .\ngrok\ngrok.exe authtoken $Env:NGROK_AUTH_TOKEN

      env:

        NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }}

    - name: Enable TS

      run: Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server'-name "fDenyTSConnections" -Value 0

    - run: Enable-NetFirewallRule -DisplayGroup "Remote Desktop"

    - run: Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "UserAuthentication" -Value 1

    - run: Set-LocalUser -Name "runneradmin" -Password (ConvertTo-SecureString -AsPlainText "P@ssw0rd!" -Force)

    - name: Create Tunnel

      run: .\ngrok\ngrok.exe tcp 3389

What You’ll Need:

  1. Ngrok: A versatile tool that creates secure tunnels between a public endpoint and a locally hosted web service, supporting a wide range of protocols, including RDP. You can download Ngrok from its official website: https://ngrok.com/download.
  2. Github: A popular platform for hosting code and version management, facilitating collaboration and code sharing.

Here’s how to set up an RDP server using Ngrok and Github:

1. Install Ngrok and Sign Up

  • First, download Ngrok from the official website and install it on your local computer.
  • Next, sign up for a free Ngrok account. During the registration process, you will be provided with an authentication token, which you’ll need later in the setup.

2. Clone or Create a GitHub Repository

  • If you already have a GitHub repository that you want to use for your RDP setup, go ahead and clone it to your local machine.
  • If you don’t have an existing repository, you can create a new one on GitHub and add the necessary code. Ensure that your code is secure and doesn’t contain any sensitive or private information.
Also Read  10 Best Torrent Clients to Use in 2023

3. Start the RDP Server

  • Navigate to the directory where your RDP code is located and initiate the RDP server using the following command:
   xrdp-sesman

4. Authenticate Ngrok

  • Open a new terminal window and run the following command, replacing “YOUR_AUTH_TOKEN” with the authentication token you received when signing up for Ngrok:
   ./ngrok authtoken YOUR_AUTH_TOKEN

5. Create a Secure Tunnel

  • To establish a secure tunnel for your RDP server, run the following command:
   ./ngrok tcp 3389

6. Connect to Your RDP Server

  • Ngrok will generate a public URL for your RDP server. You can use an RDP client to connect to your server by copying and pasting this URL.

7. Stay Secure

  • With your secure RDP server in place, you can now access your computer remotely. However, it’s essential to exercise caution and share your code and authentication token only with individuals you trust.

In conclusion, setting up an RDP server using Ngrok and Github is a straightforward process that allows you to remotely access your computer with ease. By creating a secure connection and leveraging Github for code sharing, you can enjoy the benefits of remote desktop access while keeping your data protected. Just remember to safeguard your authentication token and share it responsibly with trusted individuals.

Leave a Reply

Your email address will not be published. Required fields are marked *