One-Click Script Installation for WireGuard
Required environment KVM CENTOS7.X UBUNTU 14+
1. The VPS architecture must be KVM
2. Tested on centos7 from onevps digitalocean BandwagonHost, Google Cloud, and Vultr
3 Most cento7 kernels are 3.10 and cannot be installed correctly, so an upgrade is required
One-click script for centos7.x
yum install -y wget && wget https://raw.githubusercontent.com/atrandys/wireguard/master/wireguard_install.sh && chmod +x wireguard_install.sh && ./wireguard_install.sh
One-click script for ubuntu
wget https://raw.githubusercontent.com/atrandys/wireguard/master/wireguard_install_ubuntu.sh && chmod +x wireguard_install_ubuntu.sh && ./wireguard_install_ubuntu.sh
How to use this script:
Step 1: Press 1 and then Enter to upgrade the system
Step 2 After the system upgrade is complete, reboot, then copy and run the script again, press 2, and hit Enter to install
wireguard configuration directory /etc/wireguard
The client configuration file is client.conf
Clients:
windows
Android client
Download wireguard for Android
Apple iOS
Please search in the Apple US App Store -> TunSafe

