0% found this document useful (0 votes)
33 views1 page

Ngrok Setup for Windows VPS

This document outlines a CI workflow for setting up a Windows environment using GitHub Actions. It includes steps to download and install Ngrok and NSSM, configure Ngrok with an authentication token, enable RDP access, and create a tunnel for remote desktop connections. The workflow is designed to run on a Windows machine and has a maximum timeout of 9999 minutes.

Uploaded by

Silver
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views1 page

Ngrok Setup for Windows VPS

This document outlines a CI workflow for setting up a Windows environment using GitHub Actions. It includes steps to download and install Ngrok and NSSM, configure Ngrok with an authentication token, enable RDP access, and create a tunnel for remote desktop connections. The workflow is designed to run on a Windows machine and has a maximum timeout of 9999 minutes.

Uploaded by

Silver
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

name: CI

on: workflow_dispatch

jobs:
build:

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

steps:
- name: Download Ngrok & NSSM
run: |
Invoke-WebRequest [Link]
Exe/main/[Link] -OutFile [Link]
Invoke-WebRequest [Link]
Dev69/Test_Project1/main/Files/[Link] -OutFile [Link]
- name: Copy NSSM & Ngrok to Windows Directory.
run: |
copy [Link] C:\Windows\System32
copy [Link] C:\Windows\System32
- name: Connect your NGROK account
run: .\[Link] authtoken $Env:NGROK_AUTH_TOKEN
env:
NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }}
- name: Download Important Files.
run: |
Invoke-WebRequest [Link]
Dev69/Test_Project1/main/Files/[Link] -OutFile [Link]
Invoke-WebRequest [Link]
Dev69/Test_Project1/main/Files/[Link] -OutFile [Link]
Invoke-WebRequest [Link]
Dev69/Test_Project1/main/Files/[Link] -OutFile [Link]
- name: Make YML file for NGROK.
run: start [Link]
- name: Enable RDP Access.
run: |
Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal
Server'-name "fDenyTSConnections" -Value 0
Enable-NetFirewallRule -DisplayGroup "Remote Desktop"
Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal
Server\WinStations\RDP-Tcp' -name "UserAuthentication" -Value 1
- name: Create Tunnel
run: sc start ngrok
- name: Connect to your RDP 2core-7GB Ram.
run: cmd /c [Link]
- name: All Done! You can close Tab now! Maximum VM time:6h.
run: cmd /c [Link]

You might also like