From 030d477cc35e7ec2a550f84f2a81da2ff5f47e51 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 2 Sep 2024 11:36:21 -0400 Subject: [PATCH] Update wireguard-install.sh test --- 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 da82e6ea..1b12dfbf 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 resolvconf +$STD apt-get install -y wireguard wireguard-tools net-tools iptables 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