dever 5 anni fa
parent
commit
426296e637
2 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  1. 7 0
      src/shell/ngrok/ngrok.cfg
  2. 6 0
      src/shell/ngrok/setup

+ 7 - 0
src/shell/ngrok/ngrok.cfg

@@ -0,0 +1,7 @@
+server_addr: "local.dever.cc:4443"
+trust_host_root_certs: false
+tunnels:
+ ssh:
+  remote_port: 22
+  proto:
+   tcp: 22

+ 6 - 0
src/shell/ngrok/setup

@@ -0,0 +1,6 @@
+#!/usr/bin/env sh
+set -e
+apt install golang
+git clone https://github.com/inconshreveable/ngrok.git --depth=1 ngrok
+cp -R ngrokroot.crt ngrok/assets/client/tls/ngrokroot.crt
+GOOS=linux GOARCH=arm make release-client