Red Hat Enterprise Linux / CentOS

电脑端下载地址:

https://tunsafe.com/downloads/TunSafe-1.5-rc2.exe

手机端下载地址:

https://play.google.com/store/apps/details?id=com.wireguard.android


服务端安装:CENTOS7

$ yum update -y
$ reboot # unless there were no updates
$ sudo curl -Lo /etc/yum.repos.d/wireguard.repo https://copr.fedorainfracloud.org/coprs/jdoss/wireguard/repo/epel-7/jdoss-wireguard-epel-7.repo
$ sudo yum install epel-release
$ sudo yum install wireguard-dkms wireguard-tools

其他系统不想多说,反正我也不用

CENTOS 7 一键脚本

wget -N --no-check-certificate https://github.com/chinamore/wireguard/blob/origin/wireguard_install.sh && chmod +x wireguard_install.sh && bash wireguard_install.sh


CentOS 7+

VPS架构必须是KVM

经过测试,Hostwinds的VPS可以完美运行安装

centos7系统大部分内核都是3.10,不能正确安装,所以需要升级


yum install -y wget && wget https://makeai.cn/wireguard/wireguard_install.sh && chmod +x wireguard_install.sh && ./wireguard_install.sh


./wireguard_install.sh



导出配置文件

cat /etc/wireguard/client.conf


wireguard_install  SSH密码


Powered By Z-BlogPHP 1.5.2 Zero

175.es

. theme by Plat together