Serveur TunGo dans Docker
1️⃣ Préparer l'image
- 🐳 Officielle :
docker pull nlipatov/tungo:latest
-
🛠 Ou construisez-la vous-même :
cd src/
docker buildx build -t nlipatov/tungo:latest .
2️⃣ Exécuter le conteneur
docker run -d \
--name tungo \
--restart always \
--network host \
--device /dev/net/tun \
--cap-add NET_ADMIN \
-e EnableUDP=true \
-e EnableTCP=false \
-v tungo_volume:/etc/tungo \
nlipatov/tungo:latest
3️⃣ Générer la configuration client
docker exec tungo bash -c "tungo s gen"
Vous pouvez également utiliser l'ID du conteneur au lieu de son nom.
📖 Consultez Configuration du client pour les étapes suivantes.