Start ngrok tunnels as a systemd service. All ngrok files place in /opt/ngrok..
- Copy ngrok.service to /etc/systemd/system/
- Execute from root 'systemctl enable ngrok@<tunnel_name_from_config>.service'
- Execute 'systemctl daemon-reload'
-
Place authToken from ngrok-site to /opt/ngrok/ngrok.conf
-
Add tunell description to /opt/ngrok/ngrok.conf tunnels: openvpn: remote_port: 51194 proto: tcp: 1194
-
execute systemctl enable ngrok@openvpn.service