mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-11-28 07:46:35 +00:00
parent
70b44989e6
commit
f147518050
@ -13,7 +13,7 @@ WireGuard does not fit your environment? Check out [openvpn-install](https://git
|
||||
|
||||
Supported distributions:
|
||||
|
||||
- Ubuntu 16.04+
|
||||
- Ubuntu >= 16.04
|
||||
- Debian 10
|
||||
- Fedora
|
||||
- CentOS
|
||||
|
@ -124,10 +124,7 @@ function installWireGuard() {
|
||||
|
||||
# Install WireGuard tools and module
|
||||
if [[ ${OS} == 'ubuntu' ]]; then
|
||||
apt-get install -y software-properties-common
|
||||
add-apt-repository -y ppa:wireguard/wireguard
|
||||
apt-get update
|
||||
apt-get install -y "linux-headers-$(uname -r)"
|
||||
apt-get install -y wireguard iptables resolvconf qrencode
|
||||
elif [[ ${OS} == 'debian' ]]; then
|
||||
if ! grep -rqs "^deb .* buster-backports" /etc/apt/; then
|
||||
|
Loading…
Reference in New Issue
Block a user