|
@@ -27,7 +27,7 @@ wireguard_install(){
|
|
|
echo "deb http://deb.debian.org/debian/ unstable main" > /etc/apt/sources.list.d/unstable.list
|
|
|
printf 'Package: *\nPin: release a=unstable\nPin-Priority: 90\n' > /etc/apt/preferences.d/limit-unstable
|
|
|
apt update
|
|
|
- apt install linux-headers-$(uname -r) wireguard resolvconf qrencode -y
|
|
|
+ apt install linux-headers-$(uname -r) wireguard resolvconf iptables qrencode -y
|
|
|
|
|
|
elif [ "$DISTRO" == "CentOS" ]; then
|
|
|
curl -Lo /etc/yum.repos.d/wireguard.repo https://copr.fedorainfracloud.org/coprs/jdoss/wireguard/repo/epel-7/jdoss-wireguard-epel-7.repo
|