- 
      
 - 
        
Save nathanielvarona/00d49de8c4e4d1a32c37da47bcb0a0a5 to your computer and use it in GitHub Desktop.  
Revisions
- 
        
Daniel Smith created this gist
Oct 8, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ ``` apt-get install supervisor ngrok ``` Create the config files * /root/.ngrok2/ngrok.yml * /etc/supervisor/conf.d/ngrok.conf ``` supervisorctl reread supervisorctl update supervisorctl restart all ``` Check dashboard for tunnel status This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ [program:ngrok] command=/bin/ngrok start --all -log stdout --authtoken YOUR_AUTH_TOKEN -config=/root/.ngrok2/ngrok.yml stdout_logfile=/var/log/ngrok.out.log stderr_logfile=/var/log/ngrok.err.log autostart=true autorestart=true stopsignal=QUIT This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ authtoken: YOUR_AUTH_TOKEN web_addr: 0.0.0.0:4040 tunnels: ssh: proto: tcp addr: 0.0.0.0:22