mirror of
https://github.com/Kiritow/wg-ops.git
synced 2024-03-22 13:11:37 +08:00
WireGuard Ops
Kiritow
8bb3dcda9f
This should be done by wg-quick. However wg-quick does not provide a sync command. |
||
---|---|---|
.gitignore | ||
create.sh | ||
install_cn.sh | ||
install.sh | ||
LICENSE | ||
quick_create_client.sh | ||
Readme.md | ||
tool_common.py | ||
tool_create.py | ||
tool_generate.py | ||
tool_quick_client.py | ||
w2u.c |
WireGuard Ops
A group of Interactive bash scripts for WireGuard over udp2raw-tunnel, with optional UDPSpeeder support.
Basic Usage
-
Run
install.sh
. (May prompt sudo) -
Run
create.sh
and fill in content interactively. -
Run the generated
start.sh
. (May prompt sudo)
Start as service: systemctl start wg-quick@wg0
Start service on system start-up: systemctl enable wg-quick@wg0
See wg-quick(8) for more information.
Quick Create
On client-only nodes, run quick_create_client.sh
and paste the Quick Create String (starts with #QCS#
) to setup quickly.
Notice
Make sure to setup firewall. UFW is recommended.
For a forwarding server, the following commands might be needed:
ufw route allow in on wg0 out on wg0