Want to access Mainsail or Fluidd from outside of your network?
This plugin for Moonraker helps you do that using ngrok
ssh into your pi (built in to terminal in most linux flavors and MacOS, if you are on win you can use PuTTY)
Example ssh for MainsailOS:
ssh pi@mainsailos.local
Example ssh for FluiddPI:
ssh pi@fluiddpi.local
Default password: raspberry
Then use the following commands to install
cd
git clone https://github.com/hhammarstrand/moonraker-ngrok.git
cd moonraker-ngrok
sh ./scripts/install.sh
The easiest way is to use the web gui and edit the file moonraker_ngrok_config.sh
that is located in the config folder of Mainsail/Fluidd
Setting | Description |
---|---|
ngrok_auth | Needed! You can find yours at this link |
Port | If you are using MainsailOS/FluiddPI you shouldn't need to change port. |
ngrok_hostname | Hostname is only changeable if you have a paid account |
ngrok_username | This is not your ngrok login details. These are the credentials you would like to use to login in to Mainsail remotely |
ngrok_password | This is not your ngrok login details. These are the credentials you would like to use to login in to Mainsail remotely |
ngrok_region | Choose the region closest to you. Availible regions: us, eu, ap, au, sa, jp, in |
After providing your details you need to reboot the pi and your tunnel should be up and running. You can find your tunnels in your dashboard.