WireGuard Ops
Go to file
Kiritow 8bb3dcda9f Fix: Add route on wireguard reload
This should be done by wg-quick. However wg-quick does not provide a sync command.
2021-08-22 07:31:11 +00:00
.gitignore Add reload script 2021-07-31 08:30:32 +00:00
create.sh Add reload script 2021-07-31 08:30:32 +00:00
install_cn.sh Finished W2U LoadBalancer 2021-08-15 09:07:03 +00:00
install.sh Finished W2U LoadBalancer 2021-08-15 09:07:03 +00:00
LICENSE Update 2021-07-13 15:52:39 +08:00
quick_create_client.sh Add reload script 2021-07-31 08:30:32 +00:00
Readme.md Update Readme 2021-07-30 19:08:16 +00:00
tool_common.py Add Quick Connect (Paste & Go) 2021-07-26 21:32:23 +08:00
tool_create.py Finished W2U LoadBalancer 2021-08-15 09:07:03 +00:00
tool_generate.py Fix: Add route on wireguard reload 2021-08-22 07:31:11 +00:00
tool_quick_client.py Fix quick generator 2021-08-22 07:25:24 +00:00
w2u.c Fix recv problem 2021-08-18 19:37:09 +00:00

WireGuard Ops

A group of Interactive bash scripts for WireGuard over udp2raw-tunnel, with optional UDPSpeeder support.

Basic Usage

  1. Run install.sh. (May prompt sudo)

  2. Run create.sh and fill in content interactively.

  3. 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