RDP GitHub ngrok Setup NOT WORKING | Web Scripts | Crax

Welcome To Crax.Pro Forum!

Check our new Marketplace at Crax.Shop

   Login! SignUp Now!
  • We are in solidarity with our brothers and sisters in Palestine. Free Palestine. To learn more visit this Page

  • Crax.Pro domain has been taken down!

    Alternatives: Craxpro.io | Craxpro.com

RDP GitHub ngrok Setup NOT WORKING

RDP GitHub ngrok Setup NOT WORKING

LV
0
 

m3-12018

Member
Joined
Jun 25, 2023
Threads
1
Likes
1
Credits
179Ā©
Cash
0$
I've used several variations of the following "how to" but each one results in the same....i.e., after about 15-20 minutes the connection is lost. Is anyone else experiencing this? What is the fix?

1-Create an account on both github and ngrok
2-Download the file and create a repository in github then setup a workflow yourself
3-Paste the workflow
4-Click commit changes then go to settings secrets and variables actions then press add new repository secret and paste NGROK_AUTH_TOKEN in Name and your ngrok auth key in secret which will you get after you sign up to ngrok and press add secret
5-Go to actions and click start workflow then wait and you will get username and password after the build finish
6-Open windows remote desktop and go to ngrok and you will find id in endpoints copy it and copy user and password in github and then enter the rdp through windows remote desktop
7-Enjoy!
 
  • Like
Reactions: fognayerku
LV
1
 

sarnpk

Member
Joined
Apr 2, 2022
Threads
21
Likes
21
Awards
4
Credits
4,431Ā©
Cash
0$
here is the repo
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
 
LV
1
 

sarnpk

Member
Joined
Apr 2, 2022
Threads
21
Likes
21
Awards
4
Credits
4,431Ā©
Cash
0$
here is the repo
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 0time

    - 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
But let me tell you will get just one hour RDP note more than that
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Top Bottom