2026-07-26 20:56

Status:


Setting Up Midas Cloud and a Local File Service

The Way Things Went / General Plan:

  • Setting Up A Personal Server that Would host a multitude of different things on my own home server and be available through a a custom midascloud.net domain that I had ended up buying off of cloud-flare

  • I am running the server via ubuntu server which itself is running on the PVE node on my overall proxmox hypervisor located at port 192.168.12.123 viable at port 192.168.12.123:8006 all on the local net work of course. The server was set up and is currently running, it has access to the base 64 GB harddrive that is on the server, as well as an external 2 tb harddrive that was connected to it via the QM process, see General Commands For Command Line Interfaces

  • Plan to have a set of docker containers running on the host virtual drive, but pointing over to a /mnt/data folder which is the mount point for the 2 tb drive. This given directory has several different sub directories: /mnt/data/hompage, plex, nextcloud, nextcloud-db, vault and probably more in the future. Generally, these are just places for data storage and are pointed over to by the docker containers. See Docker Compose and yaml Setups for more information

  • The main cloud-flare connection is set up with a tunnel to the server using the inner cloud-flare process as will be documented here:

//download the offical cloudflared.deb package from the github
curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb 

//unpack the package
sudo dpkg -i cloudflared.deb 

//checks cloudflare version for correct install
cloudflared --version

//authenticate cloud flare with your account
cloudflared tunnel login

//This would create the tunnel you want with the given domain that you bought
cloudflared tunnel create midascloud

//then create a config: ~/.cloudflared/config.yml
tunnel: <TUNNEL_ID> 
credentials-file: /home/natan-guzinski/.cloudflared/<TUNNEL_ID>.json 

ingress: 
	- hostname: midascloud.net 
	  service: http://localhost:8080 
	- service: http_status:404
	  
//route DNS to the tunnel
cloudflared tunnel route dns midascloud midascloud.net


//Manually try to see if the tunnel works, here you can actually set up a connection for someone, it just isnt a daemon yet
cloudflared tunnel run midascloud

//after cancelling that, make it a background daemon that runs persistently, make sure that the above made config.yml and <TUNNEL_ID> json are both in the /etc/cloudflared directory
sudo cloudflared service install 
sudo systemctl enable --now cloudflared 
sudo systemctl status cloudflared
  • The process runs a simple cloud flare tunnel over to my server, meaning that a lot of the security and general encryption is handled over by cloud flare. Generally this basically sets up an authentication and a direct tunnel between the given server and the edge of the cloudflare network. It is very good because it runs as a background process and basically allows for TLS/HTTPS encryption to happen from the cloudflare tunnel side, meaning that my own web-server does not need cert configuration for encryption. Equally speaking, it is very easy to add in different services simply by adjusting the given port inside of the config.yml under that ingress tab. and then rerunning it with cloudflared tunnel route dns midascloud file.midascloud.net for example

References