Skip to content

Wireguard over TCP / HTTP using wstunnel for windows and linux

License

Notifications You must be signed in to change notification settings

klementng/wireguard-over-wstunnel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wireguard over wstunnel (TCP)

About The Project

This is a python script that quickly and easily enables the use of wireguard over TCP using wstunnel

Use cases:

  • Obfuscate wireguard as http traffic
  • Bypass firewalls

Getting Started

Prerequisites

This script require the following software to be installed / downloaded:

Installation

Using source code

  1. Download latest release source code

  2. Extract zip file

  3. Install required packages

    pip install -r requirements.txt 
  4. Edit the config.yml

  5. Start the program

    python main.py

Using pyinstaller precomplied binaries

  1. Download latest release binary

  2. Change permissions (for linux systems)

    chmod +x ./main 
  3. Edit the config.yml

  4. Start the program (double click on windows)

    ./main 

(back to top)

Usage

Additional Options:

usage: main.py [-h] [--config CONFIG] [--clean] [--export] [--nogui] [--log_level LOG_LEVEL]

Wireguard over wstunnel

options:
  -h, --help            show this help message and exit
  --config CONFIG, -c CONFIG
                        path to program config
  --clean               clean wireguard tunnel that are not properly stopped
  --export              export wireguard config and exit
  --nogui               start with no gui
  --log_level LOG_LEVEL
                        set logging level

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Icons