From cb8318bf089e9521767824b71c8dab3408193aaa Mon Sep 17 00:00:00 2001 From: Amir <48432425+amirbouraoui@users.noreply.github.com> Date: Mon, 2 Sep 2024 14:40:29 +0200 Subject: [PATCH] Update wireguard-install.sh adding `resolvconf` (#3642) --- install/wireguard-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/wireguard-install.sh b/install/wireguard-install.sh index 1b12dfbf..da82e6ea 100644 --- a/install/wireguard-install.sh +++ b/install/wireguard-install.sh @@ -21,7 +21,7 @@ $STD apt-get install -y git msg_ok "Installed Dependencies" msg_info "Installing WireGuard" -$STD apt-get install -y wireguard wireguard-tools net-tools iptables +$STD apt-get install -y wireguard wireguard-tools net-tools iptables resolvconf iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confnew" install -y iptables-persistent &>/dev/null $STD netfilter-persistent reload