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

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wireguard over wstunnel (TCP)

About The Project

This is a Python application that quickly and easily enables the use of Wireguard over TCP using wstunnel.

alt text

Getting Started

Prerequisites

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

Build

To create a standalone binary using PyInstaller, follow these steps:

  1. Download the latest release source code or clone the main branch.

  2. Install dependencies:

     python -m pip install -r requirements.txt pyinstaller
  3. Build the binary:

     pyinstaller main.py --onefile --hide-console hide-late --uac-admin
  4. The output binary will be located in the dist directory.

(back to top)

Installation

Using PyInstaller Binaries

  1. Download the 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

Using Source Code

  1. Download the latest release source code.

  2. Extract the ZIP file.

  3. Install required packages:

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

  5. Start the program:

    python main.py

(back to top)

Command Line 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
  --nogui               start with no GUI

(back to top)

License

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

(back to top)