Skip to content

zyrakq/wstunnel-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐳 Wstunnel Docker Stack

This project contains a collection of Docker configurations and compose files for running wstunnel - a tool to tunnel traffic over WebSocket connections.

ℹ️ Note: This repository contains Docker configurations for wstunnel by Erebe - a fast and reliable WebSocket tunnel that supports TCP, UDP, and SOCKS5 proxying.

🧩 Components

🌐 Wstunnel Services

Server-side component that accepts WebSocket connections from clients and forwards traffic to target destinations. Supports multiple deployment environments including Let's Encrypt SSL and local CA certificates. Learn more about Wstunnel Server configuration.

Client-side component that creates WebSocket connections to the server and exposes local ports for SOCKS5, TCP, or UDP proxying. Learn more about Wstunnel Client configuration.

πŸ” SSL Automation

Automatic SSL certificate management from Let's Encrypt for production deployments. Provides seamless HTTPS integration for Docker containers using nginx-proxy and acme-companion. Learn more about Let's Encrypt Manager configuration.

Local domain stack with trusted self-signed certificates for virtual network deployments. Includes private CA management and local DNS resolution for development environments. Learn more about Step CA Manager configuration.

πŸš€ Getting Started

To run the services, use the appropriate docker-compose.yml files in the subprojects. Make sure all environment variables are configured correctly.

Each service directory contains:

  • πŸ“‹ Docker Compose configurations
  • πŸ”§ Environment variable examples
  • πŸ“– Detailed setup instructions
  • πŸ› οΈ Helper scripts for development and production

Quick Start Example

# Start wstunnel server (forwarding mode)
cd src/wstunnel-server/build/forwarding
cp .env.example .env
# Edit .env with your settings
docker compose up -d

# Start wstunnel client
cd src/wstunnel-client
cp .env.example .env
# Edit .env with your server address
docker compose up -d

πŸ—οΈ Project Structure

β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ wstunnel-server/      # Wstunnel server configurations
β”‚   β”œβ”€β”€ wstunnel-client/      # Wstunnel client configuration
β”‚   └── ssl-automation/       # SSL certificate automation
β”‚       β”œβ”€β”€ letsencrypt-manager/ # Let's Encrypt SSL certificate management
β”‚       └── step-ca-manager/     # Local CA and trusted certificates

πŸ”— Related Projects

  • wstunnel - Original wstunnel project by Erebe
  • stackbuilder - Tool for building modular Docker Compose configurations

πŸ“„ License

This project is dual-licensed under:

About

🐳 Modular Docker Compose stack for wstunnel - flexible WebSocket tunneling with multiple deployment modes

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Contributors