脚本需在目标 Linux 服务器上以 root 权限运行;需能访问 git.io 下载脚本,短链失效时可改用仓库内脚本文件
wireguard-install
NyrMIT活跃维护一条命令在 Ubuntu、Debian、AlmaLinux、Rocky、CentOS、Fedora 上装好 WireGuard 并生成客户端配置,省去手动配密钥和路由的麻烦。
WireGuard road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora
wget https://git.io/wireguard -O wireguard-install.sh && bash wireguard-install.shREADME 未说明
一键在主流 Linux 上搭好 WireGuard 个人 VPN 服务端,新手也能一分钟完成
一条命令在 Ubuntu、Debian、AlmaLinux、Rocky、CentOS、Fedora 上装好 WireGuard 并生成客户端配置,省去手动配密钥和路由的麻烦。
核心能力
- 用交互式脚本自动完成 WireGuard 安装与配置
- 支持 Ubuntu、Debian、AlmaLinux、Rocky、CentOS、Fedora
- 可重复运行脚本添加或删除用户
- 可再次运行脚本彻底卸载 WireGuard
容易踩的坑
暂无 release 数据(可能没有发版,或尚未同步)。
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
wireguard-install
WireGuard road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora.
This script will let you set up your own VPN server in no more than a minute, even if you haven't used WireGuard before. It has been designed to be as unobtrusive and universal as possible.
Installation
Run the script and follow the assistant:
wget https://git.io/wireguard -O wireguard-install.sh && bash wireguard-install.sh
Once it ends, you can run it again to add more users, remove some of them or even completely uninstall WireGuard.
I want to run my own VPN but don't have a server for that
You can get a VPS from just 2 EUR or 2 USD per month at AlphaVPS.
Donations
If you want to show your appreciation, you can donate via PayPal or cryptocurrency. Thanks!