Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 572 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 572 Bytes

Description

Start ngrok tunnels as a systemd service. All ngrok files place in /opt/ngrok..

Usage

  1. Copy ngrok.service to /etc/systemd/system/
  2. Execute from root 'systemctl enable ngrok@<tunnel_name_from_config>.service'
  3. Execute 'systemctl daemon-reload'

Example

  1. Place authToken from ngrok-site to /opt/ngrok/ngrok.conf

  2. Add tunell description to /opt/ngrok/ngrok.conf tunnels: openvpn: remote_port: 51194 proto: tcp: 1194

  3. execute systemctl enable [email protected]