WireGuard helper script for building complex topologies (HUB/SPOKES) and using WireGuard with TCP stack
- Installing / Deinstalling of wireguard on linux based os
- Adding complex topologies like described in this article Multi-Hop WireGuard
- Adding simply client P2P configs
- Using wg UDP traffic though TCP thanks to udp2raw tunneling
- Speedup traffic with speederv2
- Using alternative VPN with tinyFECvpn
- Run/Stop scripts
- Windows Client helper batchfiles inkluded.
- Clone the script via
git clone https://github.com/suuhm/wireguard-help && cd wireguard-help
chmod +x wireguard-help.sh
- Run Script:
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
▒▒▒ ▒▒▒
▒▒▒ W I R E G U A R D - H E L P ▒▒▒
▒ =================================================== ▒
▒ Wireguard admin and peer creator v0.2a (c) suuhm 2023 ▒
▒ ▒
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
Error no Input.
Usage: ./wireguard-help.sh [Command] [Options]
Wireguard admin and peer creator v0.2a (c) suuhm 2023
Commands:
server [--add-config] [--udp-tcp-tunnel] [--start-wg]
client [--add-config] [--udp-tcp-tunnel] [--start-wg]
Options:
--run-tinyvpn [--tcp-mode]
--install-wg
--run-wg
--remove-wg
--stop-wg
--version
--help
Installing wireguard on your system
./wireguard-help.sh --install-wg
Set up your wg hub/server
./wireguard-help.sh server --add-config
Set up first client peer
./wireguard-help.sh client --add-config
Set up UDP2RAW socket for using TCP on server and clientside
./wireguard-help.sh server --udp-tcp-tunnel
# On client pc
./wireguard-help.sh client --udp-tcp-tunnel
## When using Windows as client:
# Use the wg_help_udp2raw.bat and optional wg_help_speederv2.bat
source: procustodibus.com
- Create Server with
./wireguard-help.sh server --add-config --start-wg
- Follow instructions in script... todo
Note
You need to install first the windows WireGuard version and run the batch file as Admin on Windows:
Important
Let me know if you find some bugs and feature wishes and post an issue!