this post was submitted on 29 Mar 2025
37 points (97.4% liked)

Selfhosted

45532 readers
817 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] Cachvza@lemmy.world 2 points 1 week ago (1 children)

To be honest, when I set this up and wrote the guide, I wasn't really aware of Forgejo as a distinct option, or at least hadn't looked into it deeply. Gitea came up frequently in my research for lightweight self-hosted Git servers Having had a quick look now that you mention it, while Forgejo definitely looks like a solid project, I'm not immediately seeing any specific features it offers that are essential for my personal use case that Gitea doesn't already cover. Gitea's is meeting my needs perfectly so far. But it's good to know about it, thanks for bringing it up!

[–] Pulsar@lemmy.world 2 points 6 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.