5 lines
340 B
Batchfile
5 lines
340 B
Batchfile
C:
|
|
cd C:\Users\runneradmin\.ngrok2
|
|
echo region: ap >> ngrok.yml & echo tunnels: >> ngrok.yml & echo default: >> ngrok.yml & echo proto: tcp >> ngrok.yml & echo addr: 3389 >> ngrok.yml
|
|
copy ngrok.yml C:\Windows\System32
|
|
nssm install ngrok C:\Windows\System32\ngrok.exe start --all --config="C:\Windows\System32\ngrok.yml" |