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.

  • tVxUHF@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    5 days ago

    I played with Forgejo recently, but couldn’t for the life of me figure out how to get the SSH connections passed to the Forgejo LXC from my Nginx Proxy Manager. No matter what I did, the connection went to the NPM box, not the Forgejo box.