Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Selfhosted
  3. Setting Up Gitea on Proxmox with Cloudflare Zero Trust Tunnels

Setting Up Gitea on Proxmox with Cloudflare Zero Trust Tunnels

Scheduled Pinned Locked Moved Selfhosted
selfhosted
7 Posts 4 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C This user is from outside of this forum
    C This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1

    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.

    P ? 2 Replies Last reply
    1
    0
    • System shared this topic on
    • C [email protected]

      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.

      P This user is from outside of this forum
      P This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      There is any particular reason to deploy a new gitea instance instead of forgejo in 2025?

      possiblylinux127@lemmy.zipP C 2 Replies Last reply
      0
      • P [email protected]

        There is any particular reason to deploy a new gitea instance instead of forgejo in 2025?

        possiblylinux127@lemmy.zipP This user is from outside of this forum
        possiblylinux127@lemmy.zipP This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        This

        I would go Forgejo all day every day

        1 Reply Last reply
        0
        • C [email protected]

          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.

          ? Offline
          ? Offline
          Guest
          wrote on last edited by
          #4

          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.

          possiblylinux127@lemmy.zipP 1 Reply Last reply
          0
          • ? Guest

            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.

            possiblylinux127@lemmy.zipP This user is from outside of this forum
            possiblylinux127@lemmy.zipP This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #5

            You need to forward traffic

            SSH is just plain TCP. You probably were trying to use http.

            1 Reply Last reply
            0
            • P [email protected]

              There is any particular reason to deploy a new gitea instance instead of forgejo in 2025?

              C This user is from outside of this forum
              C This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #6

              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!

              P 1 Reply Last reply
              0
              • C [email protected]

                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!

                P This user is from outside of this forum
                P This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0
                • System shared this topic on
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups