Add config and script for maintaining a tunnel to a web server, so that clients external to the field network can access API and display functionality.

This commit is contained in:
Patrick Fairbank
2018-09-16 20:19:52 -07:00
parent 2c6cf21252
commit c5955fb6e3
2 changed files with 43 additions and 0 deletions

4
tunnel Executable file
View File

@@ -0,0 +1,4 @@
echo "If prompted for private key password, copy-paste output of ssh-agent then run ssh-add."
echo "Otherwise, tunnel may not recover from network interruption."
echo "Starting tunnel..."
autossh -M 9081 -N -R 9080:localhost:8080 cheesyarena@cheesyarena.com