Hey everyone,

I recently went through the process of setting up a self-hosted Gitea server on a Proxmox LXC and wanted to share the steps I took. A big part of this was securing external access using Cloudflare Zero Trust tunnels for both the web UI (HTTP) and Git operations (SSH).

I know much of the information on Gitea, Proxmox, and Cloudflare tunnels exists separately, but I wanted to try and bring it all together in one place based on my experience. It’s also part of my effort to document my own self-hosting journey. 🛠️

The guide covers things like:

  • Installing Gitea on Proxmox (using helper scripts).
  • Basic Gitea configuration (web UI, users, keys).
  • Setting up Cloudflare tunnels for secure HTTP and SSH access.
  • Configuring the local SSH client and Gitea for tunnelled SSH connections.

It’s basically a walkthrough of how I got my personal Git server running and accessible securely from outside my network. Maybe not brand new information for everyone here, but hopefully, it’s a useful aggregation for someone looking to do something similar.

You can read the full post here: https://cachaza.cc/blog/03-self-hosted-gitea/

Happy to hear any thoughts or feedback! Cheers.

  • Pulsar@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 days ago

    I have been running a selfhosted gitea instance for many years. However since Gitea Limited as a per profit organization have different objectives than Forgejo and Gitea Source Contributors I will rather not recommend it for selfhosting. Gitea Limited still great for businesses that need access to official support.