mirror of
https://github.com/vincenthsu/systemd-ngrok.git
synced 2025-05-03 18:16:09 +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 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.