Skip to content

tawseo/VPN-Very-unclosed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TorrentVPN - Decentralized VPN Alternative

A VPN alternative built on torrent protocol technology with military-grade encryption.

Features

  • 🔐 Military-grade encryption (AES-256-GCM, RSA-4096)
  • 🌐 Custom torrent-based protocol for peer-to-peer VPN connections
  • 🖥️ Cross-platform support (Windows, macOS, Linux)
  • 🍎 Native macOS app with menu bar, notifications, and keyboard shortcuts
  • 🔒 Full disk encryption for servers
  • 📦 Encrypted credential export/import (.CTRU format)
  • 🚀 Automated Debian server provisioning
  • 🔑 Certificate-based authentication
  • 📱 Universal binary (Intel + Apple Silicon)

Architecture

┌─────────────┐         Custom Protocol          ┌─────────────┐
│   Client    │◄──────────(Encrypted)────────────►│   Server    │
│ (Mac/Win/   │         Torrent-based            │  (Debian)   │
│  Linux)     │         VPN Tunnel               │             │
└─────────────┘                                   └─────────────┘
      │                                                  │
      │                                                  │
  Routes all                                      Encrypted HDD
  traffic through                                 Certificate Auth
  encrypted tunnel                                User Management

Project Structure

  • server/ - Server-side VPN core (Go)
  • client/ - Cross-platform client application (TypeScript/Electron)
  • protocol/ - Custom torrent-based VPN protocol implementation
  • provisioning/ - Automated server setup scripts (Python)
  • crypto/ - Cryptographic modules and utilities
  • docs/ - Documentation and guides

Quick Start

1. Server Setup

# Run automated provisioning
cd provisioning
python3 provision_server.py --host <server-ip>

2. Client Setup

macOS (Recommended - Native App)

# Build macOS application
cd client
./scripts/build-mac.sh

# Or install pre-built DMG
open build/TorrentVPN-0.1.0.dmg
# Drag to Applications folder

📖 Complete macOS Installation Guide

All Platforms (Development)

# Install client
cd client
npm install
npm run build

# Run client
npm start

3. Create VPN Connection

  1. Open client application
  2. Click "New Server Connection"
  3. Follow setup wizard to provision and configure server
  4. Create user credentials
  5. Enable VPN connection

CTRU File Format

CTRU (Credential Torrent Remote User) files contain:

  • Server connection details
  • User credentials
  • Encryption certificates
  • Encrypted with user password using Argon2id + AES-256-GCM

Security

  • All traffic encrypted with AES-256-GCM
  • Perfect forward secrecy with ephemeral keys
  • Certificate pinning
  • No password authentication (cert-based only)
  • Full disk encryption (LUKS) on servers
  • Zero-knowledge architecture

License

MIT

Warning

This is experimental software. Use at your own risk.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors