# Nextcloud with Euro-Office on Proxmox: one VM, Docker Compose and a Cloudflare Tunnel # https://www.zadran.net/guides/nextcloud-euro-office-proxmox-cloudflare-tunnel # Generated from the guide, last updated 2026-10-18. # # NO WARRANTY. This script is provided as is. You are responsible for # understanding what it does before running it, and for the consequences. # Take a backup first. See https://www.zadran.net/disclaimer # # Destructive steps are left commented out on purpose -- uncomment them # only once you have understood what they do. # # If Windows will not run this file: a script saved from a browser is # marked as downloaded, and the RemoteSigned policy (the Windows Server # default) refuses it until you run Unblock-File .\nextcloud-euro-office-proxmox-cloudflare-tunnel.ps1 # Where the policy is Restricted (the Windows 10 and 11 default), run it as # powershell -ExecutionPolicy Bypass -File .\nextcloud-euro-office-proxmox-cloudflare-tunnel.ps1 # # These are the guide's PowerShell commands. Its bash commands are in # https://www.zadran.net/guides/nextcloud-euro-office-proxmox-cloudflare-tunnel/script.sh $ErrorActionPreference = 'Stop' # ---- Set these for your environment ---- # Created by cloud-init, used for SSH $VM_USER = 'admin1' # A free fixed IP in your LAN $VM_IP = '192.168.1.50' ssh-keygen -t ed25519 Get-Content $env:USERPROFILE\.ssh\id_ed25519.pub ssh $VM_USER@$VM_IP ssh-keygen -R $VM_IP ssh $VM_USER@$VM_IP