Skip to content
/ RDP Public

This GitHub Actions workflow automates the setup of a remote desktop access tunnel using ngrok on Windows 10. It enables remote login, sets up port forwarding, and creates a secure ngrok tunnel for accessing the remote desktop.

Notifications You must be signed in to change notification settings

CYB3RKING/RDP

Repository files navigation

image

GitHub Actions: Windows Ngrok RDP Workflow

🖥️ Automate Windows Remote Desktop setup with ngrok using GitHub Actions!

Setup Video

https://youtu.be/zrfDKT_2uuQ?si=PRNn4ZvCkfEFM-lf

Follow the steps and make own RDP

RDP code

name: Window 10

on: [push, workflow_dispatch]

jobs:
  build:

    runs-on: windows-latest
    timeout-minutes: 9999


    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 "@cyb3rking" -Force)
    - name: Create Tunnel
      run: .\ngrok\ngrok.exe tcp 3389

Default username & password

username - runneradmin

password - @cyb3rking

Features:

  • Secure Remote Desktop: Establish a secure tunnel for remote desktop access to a Windows environment.
  • Ngrok Integration: Utilize ngrok to create secure tunnels to localhost.
  • [+] Super Fast Internet 800MB > 2.5GB !
  • [+] Free Linux Storage !
  • [+] 8 GB RAM !
  • [+] 2 Core GPU !
  • [+] Free Life Time !

How to Use:

  1. Fork this repository: Start by forking this repository to make it your own.
  2. Setup ngrok Auth Token: Add your ngrok authentication token as NGROK_AUTH_TOKEN in your repository secrets.
  3. Customization: Optionally, tweak any parameters or settings to match your specific Windows environment.

Dependencies:

  • ngrok: A powerful tool for creating tunnels to localhost.

Notes:

  • This workflow is designed for Windows environments.
  • Make sure to check and adjust any firewall or security settings if needed.

Feel free to contribute, share, or customize for your Windows projects! Happy coding! 🚀

SOCIAL MEDIA :

Github Instagram CHANNEL

Contributing

Feel free to contribute to the project by opening issues, providing feedback, or submitting pull requests. Your contributions are valuable!

THANK YOU

About

This GitHub Actions workflow automates the setup of a remote desktop access tunnel using ngrok on Windows 10. It enables remote login, sets up port forwarding, and creates a secure ngrok tunnel for accessing the remote desktop.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published