wireguard正常安装

时间:2019-08-16 阅读:
#!/bin/bash sudo apt-get update -y sudo apt-get install -y software-properties-common sudo add-apt-repository -y ppa:wireguard/wireguard sudo apt-get update -y sudo apt-get install -y wireguard apt-get remove -y dnsmasq echo nameserver 1.1.1.1 >/etc/resolv.conf modprobe wireguard modprobe iptable_nat modprobe ip6table_nat
#!/bin/bash
sudo apt-get update -y
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:wireguard/wireguard
sudo apt-get update -y
sudo apt-get install -y wireguard
sudo apt-get remove -y dnsmasq
echo nameserver 1.1.1.1 >/etc/resolv.conf

modprobe wireguard
modprobe iptable_nat
modprobe ip6table_nat

[责任编辑:jumbot]

[发表评论] [收藏本页]