由于视频说明里不能有尖括号,两个尖括号用》代替了。
用到的脚本:
yum -y install wget
wget https://raw.githubusercontent.com/yob…
sh wireguard_install.sh
cat /etc/wireguard/client.conf
wg genkey | tee tempkey | wg pubkey 》 tempkey
cat /root/tempkey
vi /etc/wireguard/wg0.conf
wg-quick down wg0
wg-quick up wg0