Skip to content

mbobakov/ngrok-systemd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

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 ngrok@openvpn.service

About

systemd setup for a ngrok

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published