VPN技术 · 2023年11月10日

wireguard 自动安装脚本

wireguard 一键脚本

一键脚本安装WireGuard

所需环境 KVM CENTOS7.X UBUNTU 14+

1.VPS架构必须是KVM

2.测试了onevps digitalocean 搬瓦工、谷歌云、Vultr的centos7

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

一键脚本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

一键脚本ubuntu

wget https://raw.githubusercontent.com/atrandys/wireguard/master/wireguard_install_ubuntu.sh && chmod +x wireguard_install_ubuntu.sh && ./wireguard_install_ubuntu.sh

wireguard 一键脚本

此脚本使用方式:

第一步 按 1 然后回车 对系统进行升级

第二步 系统升级完毕后重启,然后重新复制脚本回车 按2 回车安装

wireguard 配置目录 /etc/wireguard

客户端配置文件为 client.conf

wireguard 一键脚本

客户端:

windows

tunsafe-win下载

安卓客户端

wireguard安卓下载
苹果ios

请在苹果美区搜索 -> TunSafe

OpenMagic API

Need more than content? Move into the product flow.

If you are here for model access, pricing, developer docs, or the future API console, the dedicated product path now lives on api.openmagic.ai.