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
This script require the following software to be installed / downloaded:
Using source code
-
Download latest release source code
-
Extract zip file
-
Install required packages
pip install -r requirements.txt
-
Edit the config.yml
-
Start the program
python main.py
Using pyinstaller precomplied binaries
-
Download latest release binary
-
Change permissions (for linux systems)
chmod +x ./main
-
Edit the config.yml
-
Start the program (double click on windows)
./main
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
Distributed under the MIT License. See LICENSE.txt
for more information.