https://github.com/structx/dino
reverse tunnel
https://github.com/structx/dino
golang reverse-tunnel
Last synced: 5 months ago
JSON representation
reverse tunnel
- Host: GitHub
- URL: https://github.com/structx/dino
- Owner: structx
- License: apache-2.0
- Created: 2025-11-08T15:55:17.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-12-21T22:21:52.000Z (6 months ago)
- Last Synced: 2025-12-23T01:55:01.511Z (6 months ago)
- Topics: golang, reverse-tunnel
- Language: Go
- Homepage:
- Size: 479 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dino 🦕

Routing & Tunnel Management
## 📖 Table of Contents
[🚀 Quick Start](#-quick-start)\
[🏗️ Architecture](docs/architecture.md)\
[⚙️ Config](docs/config.md)
## 🚀 Quick Start
```bash
# clone and enter repository
git clone https://github.com/structx/dino.git
cd dino
# create local volumes
mkdir -p .certs .local-volumes .local-volumes/pgdata
# set desired hostname for local tunnel
HOSTNAME="tunnel.dino.local"
# generate certs for local tunnel
openssl req -x509 -nodes -days 365 \
-newkey ec:<(openssl ecparam -name prime256v1) \
-keyout ./backend.key \
-out ./backend.cert \
-sha384 \
-subj "/C=US/ST=State/L=City/O=DinoDev/CN=$HOSTNAME"
# update local hosts file (requires sudo)
echo "127.0.0.1 api.dino.local traefik.dino.local tunnel.dino.local whoami.dino.local" | sudo tee -a /etc/hosts
# dockerize local server and tunnel
docker build -t dino/server:latest \
-f docker/server.Dockerfile .
docker build -t dino/tunnel:latest \
-f docker/tunnel.Dockerfile .
# start tunnel infra snd servers
docker compose -f tunnel.compose.yaml up -d
# verify dino has started
docker logs dino
```