This project sets up a Gitea instance accessible via a Tor hidden service, using Docker.
Gitea instance is hidden behind Caddy server without access to the network. D
This configuration uses self-signed certificates, so you will get a browser warning about an untrusted CA when opening the Tor-hosted webpage using SSL. When needed, generate certificates from a trusted Certificate Authority (CA) for better security.
Before you begin, ensure you have docker installed on your system.
git clone https://github.com/daregit/tor-gitea.git
cd tor-gitea
./run.sh
Using tor-browser visit gitea web interface and configure initial settings and admin account.
Setup user account(s), SSH keys, repositories.
- Install openbsd-netcat and tor
- Start tor service
- add entry to ~/.ssh/config
Host *.onion
ProxyCommand nc -X 5 -x localhost:9050 %h %p