Own Your Code Forever - A Private Git Server Setup Guide with Tailscale and Forgejo
Tailscale
@tailscaleAbout
The official YouTube channel for all things Tailscale.
Latest Posts
Video Description
In this comprehensive tutorial, learn how to set up your own private Git server using Forgejo (a self-hostable code forge) running in an LXC container on Proxmox. Alex walks through the entire process from creating the container to configuring Forgejo with all the features you'd expect from a modern code hosting platform - repositories, issues, workflows, and even automatic repository mirroring. This setup gives you complete control over your code and data while running on your own infrastructure. The real magic happens when we integrate Tailscale to make your self-hosted Git server accessible from anywhere in the world without port forwarding or firewall configuration. Using Tailscale's networking capabilities, we'll set up seamless SSH access for Git operations and automatic HTTPS certificates, making your private Git server work just like any cloud-hosted solution. As usual, there are chapters available for finding the bit of the video you need. Personal accounts are always free on Tailscale and can include up to 3 users and 100 devices. Get started today at https://tailscale.com/yt === Links: - https://forgejo.org/ - https://codeberg.org/ - https://github.com/tailscale-dev/video-code-snippets/tree/main/2025-09-forgejo === Chapters: 00:00 - Start 00:26 - About the Forgejo project 03:16 - Forgejo quick walkthrough 06:35 - Forgejo configuration 12:13 - Configuring TCPForward and Tailscale Serve 14:13 - LXC creation 21:28 - Fixing TLS 24:08 - TCPForward via Serve for SSH clones 26:59 - Outro
Essential Git Server Setup
AI-recommended products based on this video

10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

Western Digital 2TB WD Blue SA510 SATA Internal Solid State Drive SSD - SATA III 6 Gb/s, 2.5"/7mm, Up to 560 MB/s - WDS200T3B0A

90W AC Power Adapter for Dell OptiPlex 3000 5000 7000 9020 Series Micro Desktop Inspiron 20" 22" 24" 27" AIO Desktop, Inspiron 15 16 17 14 13 3000 5000 7000 Series Laptop Charger

BOSGAME Linux Mini PC, Intel 12th N100 16GB DDR4 RAM 512GB SSD Linux Server Computers Preinstalled Ubuntu 22.04,Support 4K Triple Display/USB3.2/WiFi 5/2.5GbE

APILDELLA 14’’ Triple Laptop Screen Extender, 1080P FHD Portable Dual Monitor for Laptop USB C HDMI, Plug-Play Monitor Extender for Mac/Windows, Fit 13”-17.3” Laptops

(2 Pack) Outlet Wall Mount Holder for Google Home Mini and Google Nest Mini, A Space-Saving Accessories with Cord Management for Google Mini Smart Speaker, No Messy Wires or Screws

GLP-1 Patches-Weight Management Patches for Men & Women, Balance Metabolism(P2)

Hey Curls toronto 5-in-1 Hot Air Styler & Blow Dryer Brush, Negative Ionic Feature for Efficient Drying, Frizz Management, Curling, Volumizing & Straightening (White)

Animal Handling Gloves - Heavy Duty Protective Gauntlets for Pet Grooming | Puncture Resistant Bite Sleeves | Scratch Proof Hand Guards for Safe Wildlife &Livestock Management



















