Wireguard VPN with Klipper and MainsailOS for remote control

Long story short, I went with wireguard. I’m still thinking of giving cloudflare tunnel a try.

Wow, a lot has happened (I’ve forgotten most of it). My wifi router died a while ago. I had a lot of things set up on it with IP reservations and some ports being forwarded, etc, etc (I have a lot of home automation going on). I immediately bought a new router, should have waited a little, but I needed my “stuff” up and running again. I had a lot of trouble getting things back like they were because the intelligence of my setup was on that router.

I decided I wanted something more robust and easier to setup again in the event of a hardware failure (it will happen again, it’s just a matter of time). The more I looked into it, I really got into self hosting services I use from 3rd parties. I set up a simple home lab running Proxmox on a simple, low power, small form computer that I bought off of Ebay. I also run Proxmox backup server so I have everything backed up. I didn’t realize I could visualize a router in a Virtual Machine. If I had a second ethernet adapter I wouldn’t need the physical router and just run Access Points.

I got what I needed by setting up wireguard. I can easily access my home lab (and mobileraker) when I’m away. When I connect through wireguard when I’m away, it’s just like being on my home network. It works great. Proxmox is a Hypervisor that let’s me run many services easily. I’m still planning on trying out Cloudflare to see if it’s a better option. I’ve been busy setting up other services at the moment, but Cloudflare is on my list.

Should i install it in klipper ? When i log into PuTTy with my local ip address, i login into klipper.

PiVPN has been installed on my Pi yesterday, but i cant connect to my printer when i enable VPN in Wireguard android app…

I used this tutorial

But i need to pay for longer streaming from my pi camera, and for larger files than 30mb…

Im using right now octoeverywhere, there is almost all functions for free, but i cant upload files 30mb+, and frames are limited to 1 for 3 seconds (3FPS picamera framerate…) If i want all funtions unlimited, i need to pay 15$+/per month… Is tailscale for free for one machine ? All functions are unlimited for one printer ?

The VPN probably is easier. Check your internet router, if it’s one you bought, it might have VPN built in.

If you have the Pi setup and port forwarding on the internet router, you will use a VPN client on your phone or PC. It looks like wireguard have have an app for iOS. Either way you start up the VPN client and after you connect, open a browser and go to the private IP address of the Mainsail interface.

Tailscale is free for 15 machines.

It’s also so easy to set up you can have it running in the time it took you to ask that question :slight_smile: