mirror of
https://github.com/vincenthsu/systemd-ngrok.git
synced 2024-11-26 07:22:13 +00:00
Automatically start ngrok by systemd
install.sh | ||
LICENSE | ||
ngrok.service | ||
ngrok.yml | ||
README.md | ||
uninstall.sh |
Installation
- Clone this repository to the target machine (eg: Raspberry Pi)
- Get your
authtoken
from ngrok website - Inspect and modify the configuration file
ngrok.yml
, by default this config will use Asia Pacific region to serve both HTTP and TCP tunnels - Run
sudo ./install.sh <your_authtoken>
, replace<your_authtoken>
with the token you've obtained before from ngrok website. - You're good to go!
Acknowledgements
Ngrok architecture auto detection was contributed by David Eleazar.