Mainsail and Klipper remote mode - how do I set it up + security concerns

I am trying to set up mainsail remote mode, but I just get the connecting to IP address box. How do I set up remote mode so I can print from anywhere with WiFi or Cell. Also, I am worried about the security of the Mainsail online platform. Would it be possible for a hacker to break in to my printer and set it on fire by disabling thermal runaway (is that even possible with Klipper?) How can I prevent this while using mainsail remote?

I personally use zeroTeir one. It has been serving me well

VPN would be the safest way, I would think. Get another raspberry pi and throw pi-vpn on it. Depending on what you’re running mainsail on, might be able to get away with putting pi-vpn on alongside, though I’ve not tested it. I spent the extra few dollars on a couple other pi’s, pi-vpn on one, pi-hole on another.

Edit: I would absolutely not expose mainsail itself to the internet.

I would suggest that use wireguard. There’s some tutorial how to set it up and I think it’s safe.

This is not how remote mode works, it just so you don’t have to host mainsail yourself. It still connects to your printer via the local network.
If you want to control your printer remotely it’s best to setup a VPN inside your network.

This is about a year after the question was asked, but I wanted to throw out another new option.

I run a community-driven service called OctoEverywhere. I’m excited to share that we recently launched full Klipper support! We aim to cloud-empower markers worldwide with free 3D printing tools, and remote access is one of them!

OctoEverywhere gives makers free, private, and unlimited access to your full Mainsail, Fluidd, or any other web portal from anywhere! We also offer free and unlimited AI print failure detection, notifications, live streaming, remote access sharing, and more!

We would love to have you join our community. Come check it out and let us know what you think!

Why is mainsail so hazardous to expose to the internet? Octoprint is exposed through the octoeverywhere right? Is that connection unsecure as well? I just recently went klipper.

I wouldn’t say mainsail itself is hazardous, it’s the fact that you have a device that’s capable of burning your house down if operated inappropriately exposed to the internet, that anyone would be able to find and operate.