mirror of
https://github.com/Kiritow/wg-ops.git
synced 2024-03-22 13:11:37 +08:00
832 B
832 B
Wireguard Ops
A group of Interactive bash scripts for Wireguard over udp2raw-tunnel, with optional UDPSpeeder support.
Usage
-
Run
install.sh
. (May require Super user permission) -
Run
create.sh
and fill in content interactively. -
Run the generated
start.sh
. (May require Super user permission)
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.
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