由於視頻說明裡不能有尖括弧,兩個尖括弧用》代替了。
用到的腳本:
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